add configuration for travis-ci.com

next
Michael Stapelberg 2015-03-13 10:06:57 +01:00
parent c263bb3d2a
commit 92d8b4d469
1 changed files with 12 additions and 0 deletions

12
.travis.yml Normal file
View File

@ -0,0 +1,12 @@
language: c
compiler:
- gcc
- clang
before_install:
- sudo apt-get update
- sudo apt-get install -y devscripts
install:
- sudo mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' debian/control
- sudo apt-get install --no-install-recommends -y libanyevent-perl libanyevent-i3-perl libextutils-pkgconfig-perl xcb-proto cpanminus xvfb xserver-xephyr xauth libinline-c-perl
- sudo cpanm X11::XCB; sudo cpanm -n X11::XCB
script: make -j && (cd testcases && xvfb-run ./complete-run.pl)