source: trunk/.travis.yml

Last change on this file was 1324, checked in by stefan, 2 months ago

drop xcode9.2

File size: 1.2 KB
Line 
1language: cpp
2
3matrix:
4  include:
5    - os: linux
6      addons:
7        apt:
8          packages:
9            - gfortran
10            - liblapack-dev
11    - os: linux
12      dist: bionic
13      addons:
14        apt:
15          packages:
16            - gfortran
17            - liblapack-dev
18    - os: osx
19      osx_image: xcode11
20      env: OSX=10.14 CC=gcc CXX=g++
21      compiler: clang
22    - os: osx
23      osx_image: xcode11
24      env: OSX=10.14
25      compiler: clang
26    - os: osx
27      osx_image: xcode10
28      env: OSX=10.13
29      compiler: clang
30
31before_script:
32  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install bash gcc; clang --version; gfortran --version; fi
33  - if [[ "$TRAVIS_OS_NAME $CC" == "osx gcc" ]]; then export CC=gcc-9 ; export CXX=g++-9 ; $CC --version; $CXX --version; fi
34  - cd ..
35  - wget https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew
36  - export PROJECT_URL=https://github.com/$TRAVIS_REPO_SLUG
37  - export PROJECT=`echo $TRAVIS_REPO_SLUG | cut -d "/" -f 2`
38  - bash ./coinbrew fetch $PROJECT_URL:$TRAVIS_BRANCH --no-prompt --skip-update  > /dev/null
39
40script:
41  - bash ./coinbrew build $PROJECT --no-prompt --verbosity=1 --test
Note: See TracBrowser for help on using the repository browser.