-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
34 lines (30 loc) · 885 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
sudo: false
language: cpp
compiler:
- clang
- gcc
cache:
- apt
os:
- osx
- linux
addons:
apt:
packages:
- build-essential
- libtool
- libpcap0.8
- libpcap-dev
# before_install:
# update packages
# - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq -y; fi
# - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y build-essential libtool libpcap0.8 libpcap-dev ; fi
# - if [ "$TRAVIS_OS_NAME" == "linux" ]; then wget --no-check-certificate https://cmake.org/files/v3.3/cmake-3.3.2.tar.gz ; fi
# - if [ "$TRAVIS_OS_NAME" == "linux" ]; then tar -xzf cmake-3.3.2.tar.gz ; fi
# - if [ "$TRAVIS_OS_NAME" == "linux" ]; then cd cmake-3.3.2 && ./configure && make && sudo make install && cd .. ; fi
before_script:
- cmake .
script:
- make
- ./bin/packetmachine-static-test
- ./bin/packetmachine-shared-test