forked from named-data/NFD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (43 loc) · 1.22 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
32
33
34
35
36
37
38
39
40
41
42
43
# For Ubuntu only
language: cpp
os:
- linux
compiler:
- gcc
notifications:
email:
on_success: always
on_failure: always
before_install:
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install -qq libssl-dev libpcap-dev libboost1.48-all-dev libcrypto++-dev libsqlite3-dev
- travis_retry git clone --depth 1 git://github.com/named-data/ndn-cxx ndn-cxx
- cd ndn-cxx
- ./waf configure
- ./waf -j1
- sudo ./waf install
- sudo ldconfig
- cd ..
- ndnsec-keygen /tmp/key | ndnsec-install-cert -
script:
- ./waf configure --with-tests
- ./waf -j1
- sudo ./waf install
- ./build/unit-tests-core
- ./build/unit-tests-daemon
- ./build/unit-tests-rib
# Tutorial for setting up notifications:
# http://docs.travis-ci.com/user/notifications/
# Here's a simple example for email notifications:
#
# notifications:
# email:
# recipients:
# - one@example.com
# - other@example.com
# on_success: [always|never|change] # default: change
# on_failure: [always|never|change] # default: always
#
# There are also other types of notifications available, including:
# IRC, Campfire, Flowdock, HipChat, and Webhook.
# For more infomation about notifications, please visit the link above.