Skip to content
Browse files

Continuous Integration (travis): check compiling with old compiler.

Compiler version as of debian stable.
  • Loading branch information...
1 parent b42f986 commit d1d30e6c78feebd38abcd107c23cdc93c73a3e83 @stefanbeller stefanbeller committed
Showing with 9 additions and 1 deletion.
  1. +9 −1 .travis.yml
View
10 .travis.yml
@@ -1,11 +1,19 @@
language: cpp
+
+# Trying a wide range of compilers:
+# gcc as the standard compiler.
+# cland to test if it works with another compiler as well.
+# gcc-snapshot checks for errors in newer versions.
+# gcc-4.4 is the compiler of choice in debian stable (Squeeze as of now); this is to ensure it works on older/stable systems as well.
+
compiler:
- gcc
- clang
- /usr/lib/gcc-snapshot/bin/gcc
+ - g++-4.4
before_install:
- sudo apt-get update -qq
- - sudo apt-get install -qq libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev cppcheck gcc-snapshot
+ - sudo apt-get install -qq libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev cppcheck gcc-snapshot g++-4.4
script: cmake . && make
after_script: cppcheck --verbose --enable=all --std=posix --std=c++11 --quiet `git ls-files src/\*.cpp`
notifications:

0 comments on commit d1d30e6

Please sign in to comment.
Something went wrong with that request. Please try again.