From 1512081a4091e4ff4900eef7376b60f6db1ee2cc Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 22 Jul 2015 15:06:53 +0200 Subject: [PATCH] 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 --- .travis.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2daea78..aec9d85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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'