mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-22 03:03:29 +00:00
Drop Travis CI.
This commit is contained in:
parent
c3ae946f48
commit
4c0de84bbf
2 changed files with 0 additions and 137 deletions
134
.travis.yml
134
.travis.yml
|
|
@ -1,134 +0,0 @@
|
|||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
arch: arm64
|
||||
language: python
|
||||
python: '3.6'
|
||||
env: PYTHON=/home/travis/virtualenv/python3.6.9/bin
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.pip-cache/
|
||||
- /home/travis/virtualenv/python3.6.9/lib/python3.6/site-packages
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- autogen
|
||||
- autoconf
|
||||
- automake
|
||||
- libtool
|
||||
- pkg-config
|
||||
- libjson-c-dev
|
||||
- gettext
|
||||
- libusb-1.0-0-dev
|
||||
- libdbus-glib-1-dev
|
||||
- libbluetooth-dev
|
||||
- libnl-genl-3-dev
|
||||
- flex
|
||||
- bison
|
||||
- libpcap-dev
|
||||
|
||||
- os: linux
|
||||
arch: arm64
|
||||
language: python
|
||||
python: '3.7'
|
||||
env: PYTHON=/home/travis/virtualenv/python3.7.5/bin
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.pip-cache/
|
||||
- /home/travis/virtualenv/python3.7.5/lib/python3.7/site-packages
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- autogen
|
||||
- autoconf
|
||||
- automake
|
||||
- libtool
|
||||
- pkg-config
|
||||
- libjson-c-dev
|
||||
- gettext
|
||||
- libusb-1.0-0-dev
|
||||
- libdbus-glib-1-dev
|
||||
- libbluetooth-dev
|
||||
- libnl-genl-3-dev
|
||||
- flex
|
||||
- bison
|
||||
- libpcap-dev
|
||||
|
||||
- os: linux
|
||||
arch: arm64
|
||||
language: python
|
||||
python: '3.8'
|
||||
env: PYTHON=/home/travis/virtualenv/python3.8.0/bin
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.pip-cache/
|
||||
- /home/travis/virtualenv/python3.8.0/lib/python3.8/site-packages
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- autogen
|
||||
- autoconf
|
||||
- automake
|
||||
- libtool
|
||||
- pkg-config
|
||||
- libjson-c-dev
|
||||
- gettext
|
||||
- libusb-1.0-0-dev
|
||||
- libdbus-glib-1-dev
|
||||
- libbluetooth-dev
|
||||
- libnl-genl-3-dev
|
||||
- flex
|
||||
- bison
|
||||
- libpcap-dev
|
||||
|
||||
install:
|
||||
- git clone --branch libgpg-error-1.39 https://github.com/gpg/libgpg-error
|
||||
- cd libgpg-error
|
||||
- ./autogen.sh
|
||||
- ./configure -enable-maintainer-mode --enable-static --enable-shared --with-pic --disable-doc --disable-nls
|
||||
- make
|
||||
- sudo make install
|
||||
- cd ..
|
||||
- rm -rf libgpg-error
|
||||
- git clone --branch libgcrypt-1.8.6 https://github.com/gpg/libgcrypt
|
||||
- cd libgcrypt
|
||||
- ./autogen.sh
|
||||
- ./configure -enable-maintainer-mode --enable-static --enable-shared --with-pic --disable-doc
|
||||
- make
|
||||
- sudo make install
|
||||
- cd ..
|
||||
- rm -rf libgcrypt
|
||||
- git clone --branch fanout https://github.com/tsnoam/libpcap
|
||||
- cd libpcap
|
||||
- ./configure --enable-ipv6 --disable-universal --enable-dbus=no --without-libnl
|
||||
- make
|
||||
- sudo make install
|
||||
- cd ..
|
||||
- rm -rf libpcap
|
||||
- git clone --branch dev https://github.com/ntop/nDPI.git
|
||||
- cd nDPI
|
||||
- ./autogen.sh
|
||||
- ./configure
|
||||
- make
|
||||
- sudo mkdir /usr/local/include/ndpi
|
||||
- sudo cp -a src/include/. /usr/local/include/ndpi/
|
||||
- sudo cp example/ndpiReader /usr/local/bin/ndpiReader
|
||||
- sudo cp src/lib/libndpi.a /usr/local/lib/libndpi.a
|
||||
- cd ..
|
||||
- rm -rf nDPI
|
||||
- python3 -m pip install --upgrade pip
|
||||
- python3 -m pip install --upgrade setuptools wheel twine codecov
|
||||
- travis_wait python3 -m pip install -r requirements.txt
|
||||
- travis_wait python3 setup.py bdist_wheel
|
||||
- ls dist/
|
||||
|
||||
script:
|
||||
- travis_wait python3 -m coverage run tests.py
|
||||
- python3 -m coverage combine
|
||||
|
||||
after_success:
|
||||
- python3 -m codecov
|
||||
- |
|
||||
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ ! -z "$TRAVIS_TAG" ]; then
|
||||
python3 -m twine upload --skip-existing dist/*.whl
|
||||
fi
|
||||
|
|
@ -63,9 +63,6 @@ across experiments.
|
|||
<a href="https://github.com/nfstream/nfstream/actions?query=workflow%3Abuild">
|
||||
<img src="https://img.shields.io/github/workflow/status/nfstream/nfstream/build/master?logo=github&style=for-the-badge" alt="Github WorkFlows" />
|
||||
</a>
|
||||
<a href="https://travis-ci.com/github/nfstream/nfstream">
|
||||
<img src="https://img.shields.io/travis/com/nfstream/nfstream?logo=travis&style=for-the-badge" alt="Travis CI" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue