Skip to content

Commit

Permalink
Adding .travis.yml; checking if it times out bisdn#6
Browse files Browse the repository at this point in the history
Disabling veth tests for travis-ci build (not supported by the sandbox)
  • Loading branch information
Marc Sune committed May 12, 2015
1 parent 652c991 commit 48c3612
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ compiler:
- gcc
- clang
sudo: required
env: TRAVIS_CI=1
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq libconfig++-dev libboost-all-dev libssl-dev libcunit1-dev libcppunit-dev
- sudo ip link add type veth
- sudo ip link add type veth
- sudo ip link add type veth
- sudo ip link add type veth
install:
- ./autogen.sh
env:
Expand All @@ -20,7 +17,7 @@ env:
script:
- mkdir -p build
- cd build
- ../configure $FLAGS
- TRAVIS_CI=1 ../configure $FLAGS
- make clean
- make clean-libs
- make -j 5
Expand Down
3 changes: 2 additions & 1 deletion src/xdpd/drivers/gnu_linux/test/regression/test_launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ if [ $DEBUG ];then
sudo ./test_storage_packets_expiration
fi

if [ ! $TRAVIS_CI ];then
#MMAP
sudo ./test_portmmap

#test for the hcl notifications for port events (add, delete & status change)
sudo ./test_port_status

fi

0 comments on commit 48c3612

Please sign in to comment.