add .travis.yml

This commit is contained in:
Steffen Jaeckel 2014-10-13 19:25:31 +02:00
parent cb3ed6951e
commit b5352a5f6b
2 changed files with 25 additions and 0 deletions

1
.gitignore vendored
View File

@ -10,6 +10,7 @@
*.out *.out
*.l[ao] *.l[ao]
/.libs /.libs
test_*.txt
test test
test.exe test.exe

24
.travis.yml Normal file
View File

@ -0,0 +1,24 @@
language: c
compiler:
- gcc
script: CC="${MYCC}" make test >test_gcc_1.txt 2>test_gcc_2.txt && ./test >test_std.txt 2>test_err.txt
env:
- MYCC="gcc"
- MYCC="gcc -m32"
- MYCC="gcc-4.8"
- MYCC="gcc-4.8 -m32"
matrix:
fast_finish: true
before_script:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get install gcc-4.8-multilib gcc-multilib build-essential
after_failure:
- cat test_gcc_1.txt
- cat test_std.txt
- cat test_err.txt
after_script:
- cat test_gcc_2.txt
notifications:
irc: "chat.freenode.net#libtom"