Skip to content

Commit

Permalink
test with both gcc 4.7 and 4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed May 19, 2014
1 parent c0593af commit 916719b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ before_install:
- sudo apt-get update -qq

install:
- sudo apt-get -qq install boost1.55 gcc-4.8 g++-4.8
- if [ "${CXX}" = 'g++' ]; then export CXX="g++-4.8" && export CC="gcc-4.8"; fi;
- sudo apt-get -qq install boost1.55 gcc-4.8 g++-4.8 gcc-4.7 g++-4.7

before_script:
- make test
- if [ "${CXX}" = 'g++' ]; then export CXX="g++-4.7"; export CC="gcc-4.7"; make test; make clean; export CXX="g++-4.8"; export CC="gcc-4.8"; make test; else make test; fi;

script:
- make sizes /usr/include/boost/variant.hpp

0 comments on commit 916719b

Please sign in to comment.