diff options
Diffstat (limited to 'lib/entityx/.travis.yml')
-rw-r--r-- | lib/entityx/.travis.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/entityx/.travis.yml b/lib/entityx/.travis.yml new file mode 100644 index 0000000..c06dba4 --- /dev/null +++ b/lib/entityx/.travis.yml @@ -0,0 +1,17 @@ +language: cpp +compiler: + - clang + - gcc +before_install: + - sudo apt-add-repository -y ppa:jkeiren/ppa + - if test $CC = gcc; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi + - sudo add-apt-repository -y ppa:george-edison55/precise-backports + - sudo apt-get update -qq + - if test $CC = gcc; then sudo apt-get install --yes --force-yes gcc-4.7 g++-4.7; fi + - if test $CC = gcc; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 20; fi + - if test $CC = gcc; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.7 20; fi + - if test $CC = gcc; then sudo update-alternatives --config gcc; fi + - if test $CC = gcc; then sudo update-alternatives --config g++; fi + - sudo apt-get install --yes --force-yes cmake cmake-data + +script: ./scripts/travis.sh |