blob: cbc3a60f17f7f14d181017fc862680ed1b7e4b30 [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
Alexander Afanasyevb35bcf22014-02-07 16:50:35 -080018 - travis_retry git clone git://github.com/named-data/ndn-cpp-dev ndn-cpp
Yi Huang71929b32014-01-29 21:47:09 -070019 - cd ndn-cpp
20 - ./waf configure
21 - ./waf -j1
22 - sudo ./waf install
23 - sudo ldconfig
24 - cd ..
Alexander Afanasyevb35bcf22014-02-07 16:50:35 -080025 - ndnsec-keygen /tmp/key | ndnsec-install-cert -
Yi Huang71929b32014-01-29 21:47:09 -070026script:
27 - ./waf configure --with-tests
28 - ./waf -j1
29 - sudo ./waf install
30 - ./build/unit-tests
31# Tutorial for setting up notifications:
32# http://docs.travis-ci.com/user/notifications/
33# Here's a simple example for email notifications:
34#
35# notifications:
36# email:
37# recipients:
38# - one@example.com
39# - other@example.com
40# on_success: [always|never|change] # default: change
41# on_failure: [always|never|change] # default: always
42#
43# There are also other types of notifications available, including:
44# IRC, Campfire, Flowdock, HipChat, and Webhook.
45# For more infomation about notifications, please visit the link above.