forked from wlanslovenija/tunneldigger
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (30 loc) · 1.05 KB
/
.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
branches:
only:
- master
language: python
python:
- 2.7
sudo: required
dist: trusty
install:
- sudo add-apt-repository universe
- sudo apt-get -qq update
- sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -qq --assume-no install bison build-essential flex gawk gettext git git-core libncurses5-dev libssl-dev lxc m4 subversion unzip zlib1g-dev python3-lxc python3-nose linux-libc-dev cmake libnl-3-dev libnl-genl-3-dev libasyncns-dev
- sudo modprobe l2tp_netlink
- sudo modprobe l2tp_ip
- sudo modprobe l2tp_eth
- sudo modprobe nf_conntrack
- sudo modprobe nf_conntrack_netlink
- sudo iptables -t nat -L >/dev/null
- sudo iptables -t filter -P FORWARD ACCEPT
- sudo /usr/bin/python3 ./tests/tunneldigger.py --setup
script:
- sudo -E sh ./tests/travis.sh
env:
matrix:
- SELECT=nose OLD_REV=HEAD
- SELECT=nose OLD_REV=v0.3.0
- SELECT=nose OLD_REV=4e4f13cdc630c46909d47441093a5bdaffa0d67f
- SELECT=nose OLD_REV=c638231efca6b3a6e1c675ac0834a3e851ad1bdc
- SELECT=usage
- SELECT=client