forked from p4lang/ptf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (28 loc) · 811 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Config file for automatic testing at travis-ci.org
sudo: required
# My very smart trick to force inclusion of the veth kernel module
# (even though we do not use docker at all her)
services:
- docker
addons:
apt:
packages:
- python-dev
- python-pip
- cmake
- libffi-dev
before_install:
- sudo apt-get install ethtool
- sudo pip install --upgrade pip
- sudo apt-get remove python-scapy
- git clone https://github.com/p4lang/scapy-vxlan.git && cd scapy-vxlan && sudo python setup.py install && cd ..
- bash CI/travis/install-nanomsg.sh
- sudo ldconfig
- bash CI/travis/install-nnpy.sh
install:
- sudo python setup.py install
before_script:
- cd ptf_nn/; sudo ./veth_setup.sh; cd ..
script:
- python CI/travis/check-nnpy.py
- ./CI/travis/run_tests.sh