| 1 | language: cpp |
| 2 | |
| 3 | matrix: |
| 4 | include: |
| 5 | - os: linux |
| 6 | addons: |
| 7 | apt: |
| 8 | packages: |
| 9 | - gfortran |
| 10 | - os: osx |
| 11 | osx_image: xcode10 |
| 12 | env: OSX=10.13 |
| 13 | compiler: clang |
| 14 | - os: osx |
| 15 | osx_image: xcode9.2 |
| 16 | env: OSX=10.12 |
| 17 | compiler: clang |
| 18 | - os: osx |
| 19 | osx_image: xcode8 |
| 20 | env: OSX=10.11 |
| 21 | compiler: clang |
| 22 | allow_failures: |
| 23 | - os: osx |
| 24 | |
| 25 | before_script: |
| 26 | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install bash gcc; brew link --overwrite gcc; gfortran --version; fi |
| 27 | - git clone https://github.com/coin-or/COIN-OR-OptimizationSuite COIN |
| 28 | - cd COIN |
| 29 | - export PROJECT=`echo $TRAVIS_REPO_SLUG | cut -d "/" -f 2` |
| 30 | - bash ./coin.install.sh fetch --no-prompt --main-proj=$PROJECT > /dev/null |
| 31 | |
| 32 | script: |
| 33 | - bash ./coin.install.sh build --no-prompt --main-proj=$PROJECT --verbosity=2 --test |