Update .travis.yml
This commit is contained in:
		@@ -6,6 +6,12 @@
 | 
				
			|||||||
# http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11/30925448#30925448
 | 
					# 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
 | 
					# to allow C++11, though we are not yet building with -std=c++11
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					before-install:
 | 
				
			||||||
 | 
					  # Debug information
 | 
				
			||||||
 | 
					  - if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then lsb_release -a; fi
 | 
				
			||||||
 | 
					  - uname -a
 | 
				
			||||||
 | 
					  - $CC --version
 | 
				
			||||||
 | 
					  - $CXX --version
 | 
				
			||||||
install:
 | 
					install:
 | 
				
			||||||
# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
 | 
					# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
 | 
				
			||||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
 | 
					- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user