mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-21 19:59:09 +00:00
Hookup with Travis CI
Conflicts: README.md
This commit is contained in:
parent
29b1201c8e
commit
3e449c3195
26
.travis.yml
Normal file
26
.travis.yml
Normal file
@ -0,0 +1,26 @@
|
||||
language: c
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
|
||||
git:
|
||||
depth: 1
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
env:
|
||||
- 'PROJECT=minissdpd'
|
||||
- 'PROJECT=miniupnpc'
|
||||
- 'PROJECT=miniupnpc-async'
|
||||
- 'PROJECT=miniupnpc-libevent'
|
||||
- 'PROJECT=miniupnpd'
|
||||
|
||||
before_install:
|
||||
- 'sudo apt-get -qq update'
|
||||
- 'sudo apt-get -qq install iptables-dev libevent-dev libnfnetlink-dev'
|
||||
|
||||
script:
|
||||
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
|
||||
- 'MAKEFILE=Makefile && if [ -a Makefile.linux ]; then MAKEFILE=Makefile.linux; fi'
|
||||
- 'make -f $MAKEFILE -j2'
|
Loading…
x
Reference in New Issue
Block a user