Travis CI:

removed git: depth: 1: this could break non-HEAD builds
interchange env: and compiler: sections
make -j3
make check in after_success: section
This commit is contained in:
Thomas Bernard 2015-07-22 15:06:53 +02:00
parent 151b16a1ed
commit 1512081a40

View File

@ -1,10 +1,4 @@
language: c
compiler:
- gcc
- clang
git:
depth: 1
matrix:
fast_finish: true
@ -16,6 +10,7 @@ addons:
- libevent-dev
- libnfnetlink-dev
# container-based builds
sudo: false
env:
@ -25,8 +20,14 @@ env:
- 'PROJECT=miniupnpc-libevent'
- 'PROJECT=miniupnpd'
compiler:
- gcc
- clang
script:
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
- 'MAKEFILE=Makefile && if [ -a Makefile.linux ]; then MAKEFILE=Makefile.linux; fi'
- 'make -f $MAKEFILE -j2'
- 'make -f $MAKEFILE -j3'
after_success:
- 'if [ "$PROJECT" = "miniupnpc" ]; then make -f $MAKEFILE check; fi'