mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
more Travis fix
This commit is contained in:
parent
6dd82f33dc
commit
f8ad5c4da0
12
.travis.yml
12
.travis.yml
@ -13,7 +13,7 @@ matrix:
|
||||
- os: osx
|
||||
osx_image: xcode10.1
|
||||
compiler: gcc
|
||||
env: VERSION=7
|
||||
env: VERSION=-7
|
||||
- compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
@ -24,7 +24,7 @@ matrix:
|
||||
- libgsl0-dev
|
||||
- flex
|
||||
- bison
|
||||
env: VERSION=6
|
||||
env: VERSION=-6
|
||||
- compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
@ -35,7 +35,7 @@ matrix:
|
||||
- libgsl0-dev
|
||||
- flex
|
||||
- bison
|
||||
env: VERSION=7
|
||||
env: VERSION=-7
|
||||
- compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
@ -68,11 +68,11 @@ before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bison flex; export PATH="/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH"; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc$VERSION; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc${VERSION#-}; fi
|
||||
|
||||
install:
|
||||
- export CC=$CC-$VERSION
|
||||
- export CXX=$CXX-$VERSION
|
||||
- export CC=$CC$VERSION
|
||||
- export CXX=$CXX$VERSION
|
||||
- echo $PATH
|
||||
- which $CC
|
||||
- $CC --version
|
||||
|
Loading…
Reference in New Issue
Block a user