blob: 97c3521788dacb4ca3d08ac4b796895f26a155a5 [file] [log] [blame]
Yi Huang71929b32014-01-29 21:47:09 -07001# For Ubuntu only
2language: cpp
3os:
4 - linux
5compiler:
6 - gcc
7notifications:
8 email:
9 on_success: always
10 on_failure: always
11before_install:
Yi Huang71929b32014-01-29 21:47:09 -070012 - travis_retry sudo apt-get update
Alexander Afanasyevb5b6c642014-04-16 23:07:05 -070013 - travis_retry sudo apt-get install -qq libssl-dev libpcap-dev libboost1.48-all-dev libcrypto++-dev libsqlite3-dev
Alexander Afanasyev4a771362014-04-24 21:29:33 -070014 - travis_retry git clone --depth 1 git://github.com/named-data/ndn-cxx ndn-cxx
15 - cd ndn-cxx
Yi Huang71929b32014-01-29 21:47:09 -070016 - ./waf configure
17 - ./waf -j1
18 - sudo ./waf install
19 - sudo ldconfig
20 - cd ..
Alexander Afanasyevb35bcf22014-02-07 16:50:35 -080021 - ndnsec-keygen /tmp/key | ndnsec-install-cert -
Yi Huang71929b32014-01-29 21:47:09 -070022script:
23 - ./waf configure --with-tests
24 - ./waf -j1
25 - sudo ./waf install
Alexander Afanasyevb5b6c642014-04-16 23:07:05 -070026 - ./build/unit-tests-core
27 - ./build/unit-tests-daemon
28 - ./build/unit-tests-rib
Yi Huang71929b32014-01-29 21:47:09 -070029# Tutorial for setting up notifications:
30# http://docs.travis-ci.com/user/notifications/
31# Here's a simple example for email notifications:
32#
33# notifications:
34# email:
35# recipients:
36# - one@example.com
37# - other@example.com
38# on_success: [always|never|change] # default: change
39# on_failure: [always|never|change] # default: always
40#
41# There are also other types of notifications available, including:
42# IRC, Campfire, Flowdock, HipChat, and Webhook.
43# For more infomation about notifications, please visit the link above.