Merge pull request #310 from cdunn2001/0.y.z

gcc-4.6, clang-3.3
This commit is contained in:
Christopher Dunn 2015-07-12 09:55:20 -05:00
commit 02839ef5b1

View File

@ -2,13 +2,30 @@
# http://about.travis-ci.org/docs/user/build-configuration/ # http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on: # This file can be validated on:
# http://lint.travis-ci.org/ # http://lint.travis-ci.org/
# See also
# http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11/30925448#30925448
# to allow C++11, though we are not yet building with -std=c++11
#before_install: sudo apt-get install -y cmake install:
# cmake is pre-installed in Travis for both linux and osx # /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
#- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
before_install: - if [ "$CXX" = "g++" ]; then export CXX="g++-4.6" CC="gcc-4.6"; fi
- sudo apt-get update -qq # /usr/bin/clang is our version already, and clang-X.Y does not exist.
- sudo apt-get install -qq valgrind #- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.3" CC="clang-3.3"; fi
- echo ${PATH}
- ls /usr/local
- export PATH=/usr/bin:${PATH}
- echo ${CXX}
- ${CXX} --version
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.6
- g++-4.6
- clang-3.3
- valgrind
os: os:
- linux - linux
language: cpp language: cpp
@ -23,3 +40,4 @@ env:
notifications: notifications:
email: email:
- aaronjjacobs@gmail.com - aaronjjacobs@gmail.com
sudo: false