travis: use gcc 4.5 and 4.8

develop
lethosor 2016-01-09 19:34:57 -05:00
parent 2f4a5e8449
commit 122918c30f
1 changed files with 25 additions and 9 deletions

@ -1,14 +1,30 @@
sudo: false sudo: false
language: cpp
addons: addons:
apt: apt:
packages: packages: &default_packages
- gcc-multilib - lua5.2
- g++-multilib - libxml-libxml-perl
- lua5.2 - libxml-libxslt-perl
- libxml-libxml-perl - zlib1g-dev:i386
- libxml-libxslt-perl matrix:
- zlib1g-dev:i386 include:
language: cpp - env: GCC_VERSION=4.5
addons:
apt:
packages:
- *default_packages
- gcc-4.5-multilib
- g++-4.5-multilib
- env: GCC_VERSION=4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-4.8-multilib
- g++-4.8-multilib
before_install: before_install:
pip install --user sphinx pip install --user sphinx
script: script:
@ -22,7 +38,7 @@ script:
- python travis/script-syntax.py --ext=rb --cmd="ruby -c" --path scripts/ - python travis/script-syntax.py --ext=rb --cmd="ruby -c" --path scripts/
- mkdir build-travis - mkdir build-travis
- cd build-travis - cd build-travis
- cmake .. -DBUILD_DOCS:BOOL=ON - cmake .. -DCMAKE_C_COMPILER=gcc-$GCC_VERSION -DCMAKE_CXX_COMPILER=g++-$GCC_VERSION -DBUILD_DOCS:BOOL=ON
- make -j3 - make -j3
notifications: notifications:
email: false email: false