mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-18 02:11:05 +00:00
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:
parent
151b16a1ed
commit
1512081a40
15
.travis.yml
15
.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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user