Skip to content

Commit

Permalink
Add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
radarsat1 committed Mar 29, 2019
1 parent 9ff929f commit 735a872
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
language: cpp
sudo: false # docker VM
git:
depth: 99999
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- autoconf-archive
env: HOST="" MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
compiler: gcc
- os: linux
dist: xenial
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-mingw-w64
- autoconf-archive
env:
- HOST="x86_64-w64-mingw32"
- MINGW_ON_LINUX="1"
- MATRIX_EVAL="unset CC && unset CXX"
- os: osx
osx_image: xcode10
env: HOST="" MATRIX_EVAL="brew install autoconf-archive"
compiler: clang
before_install:
- eval "${MATRIX_EVAL}"
script: pwd && echo MINGW_ON_LINUX=$MINGW_ON_LINUX && (./autogen.sh --host=$HOST --disable-debug --prefix=$PWD/install || (cat config.log; false)) && make && (echo here; [ x = x$MINGW_ON_LINUX ] && (make check || (for i in src/*.log; do echo === $i ===; cat $i; done; false)) || true) && make install && find install
notifications:
email:
recipients:
- radarsat1@gmail.com
on_success: never
on_failure: change

0 comments on commit 735a872

Please sign in to comment.