mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
Travis fix
This commit is contained in:
parent
7993a1a7f7
commit
6dd82f33dc
14
.travis.yml
14
.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:
|
||||
@ -57,7 +57,7 @@ matrix:
|
||||
- libgsl0-dev
|
||||
- flex
|
||||
- bison
|
||||
env: CLANG_LINK=http://releases.llvm.org/6.0.1/clang+llvm-6.0.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz
|
||||
env: CLANG_LINK=http://releases.llvm.org/7.0.1/clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz
|
||||
|
||||
before_install:
|
||||
- export LATDIR=`pwd`
|
||||
@ -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 gcc5; 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