Travis: unify GCC5 and SWIG_CC variables
This commit is contained in:
parent
1ecd0bad31
commit
5dd553e244
2 changed files with 11 additions and 17 deletions
25
.travis.yml
25
.travis.yml
|
|
@ -7,12 +7,10 @@ matrix:
|
|||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG= GCC5=1 CPP11=1
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG= GCC5=1 CPP14=1
|
||||
- os: linux
|
||||
env: SWIGLANG= SWIG_CC=gcc-5 SWIG_CXX=g++-5 CPP11=1
|
||||
- os: linux
|
||||
env: SWIGLANG= SWIG_CC=gcc-5 SWIG_CXX=g++-5 CPP14=1
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=csharp
|
||||
|
|
@ -100,15 +98,12 @@ matrix:
|
|||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=tcl
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=csharp GCC5=1 CPP11=1
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=java GCC5=1 CPP11=1
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=python GCC5=1 CPP11=1
|
||||
- os: linux
|
||||
env: SWIGLANG=csharp SWIG_CC=gcc-5 SWIG_CXX=g++-5 CPP11=1
|
||||
- os: linux
|
||||
env: SWIGLANG=java SWIG_CC=gcc-5 SWIG_CXX=g++-5 CPP11=1
|
||||
- os: linux
|
||||
env: SWIGLANG=python SWIG_CC=gcc-5 SWIG_CXX=g++-5 CPP11=1
|
||||
- os: osx
|
||||
env: SWIGLANG= SWIG_CC=gcc-4.2 SWIG_CXX=g++-4.2
|
||||
- compiler: clang
|
||||
|
|
|
|||
|
|
@ -2,12 +2,11 @@
|
|||
lsb_release -a
|
||||
sudo apt-get -qq update
|
||||
|
||||
if [[ "$GCC5" ]]; then
|
||||
if [[ "$CC" == gcc-5 ]]; then
|
||||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
sudo add-apt-repository -y ppa:boost-latest/ppa
|
||||
sudo apt-get -qq update
|
||||
sudo apt-get install -qq g++-5 libboost1.55-dev
|
||||
export CC=gcc-5 CXX=g++-5
|
||||
else
|
||||
sudo apt-get -qq install libboost-dev
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue