Add gcc-6 Travis testing and use gcc-5.3 instead of gcc-5.2
Test Python, Java and C# with gcc-6 Test gcc-5 on Trusty instead of on Precise to pick up gcc-5.3 instead of gcc-5.2
This commit is contained in:
parent
55fe53dc3f
commit
1f0acadcf0
2 changed files with 30 additions and 5 deletions
|
|
@ -7,13 +7,16 @@ sudo apt-get -qq update
|
|||
|
||||
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
|
||||
else
|
||||
sudo apt-get -qq install libboost-dev
|
||||
sudo apt-get install -qq g++-5
|
||||
elif [[ "$CC" == gcc-6 ]]; then
|
||||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
sudo apt-get -qq update
|
||||
sudo apt-get install -qq g++-6
|
||||
fi
|
||||
|
||||
sudo apt-get -qq install libboost-dev
|
||||
|
||||
WITHLANG=$SWIGLANG
|
||||
|
||||
case "$SWIGLANG" in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue