blob: 9ead59bfcb7b845b06097f8153bce71f61213c11 [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:
12 - travis_retry sudo add-apt-repository -y ppa:named-data/ppa
13 - travis_retry sudo apt-get update
14 - travis_retry sudo apt-get install -qq ndnx-dev
15 - travis_retry sudo apt-get install -qq libboost-all-dev
16 - travis_retry sudo apt-get install -qq libcrypto++-dev
17 - travis_retry sudo apt-get install -qq libsqlite3-dev
18 - travis_retry git clone git://github.com/cawka/ndn-cpp ndn-cpp
19 - cd ndn-cpp
20 - ./waf configure
21 - ./waf -j1
22 - sudo ./waf install
23 - sudo ldconfig
24 - cd ..
25script:
26 - ./waf configure --with-tests
27 - ./waf -j1
28 - sudo ./waf install
29 - ./build/unit-tests
30# Tutorial for setting up notifications:
31# http://docs.travis-ci.com/user/notifications/
32# Here's a simple example for email notifications:
33#
34# notifications:
35# email:
36# recipients:
37# - one@example.com
38# - other@example.com
39# on_success: [always|never|change] # default: change
40# on_failure: [always|never|change] # default: always
41#
42# There are also other types of notifications available, including:
43# IRC, Campfire, Flowdock, HipChat, and Webhook.
44# For more infomation about notifications, please visit the link above.