Yi Huang | 71929b3 | 2014-01-29 21:47:09 -0700 | [diff] [blame] | 1 | # For Ubuntu only |
| 2 | language: cpp |
| 3 | os: |
| 4 | - linux |
| 5 | compiler: |
| 6 | - gcc |
| 7 | notifications: |
| 8 | email: |
| 9 | on_success: always |
| 10 | on_failure: always |
| 11 | before_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 Afanasyev | b35bcf2 | 2014-02-07 16:50:35 -0800 | [diff] [blame^] | 18 | - travis_retry git clone git://github.com/named-data/ndn-cpp-dev ndn-cpp |
Yi Huang | 71929b3 | 2014-01-29 21:47:09 -0700 | [diff] [blame] | 19 | - cd ndn-cpp |
| 20 | - ./waf configure |
| 21 | - ./waf -j1 |
| 22 | - sudo ./waf install |
| 23 | - sudo ldconfig |
| 24 | - cd .. |
Alexander Afanasyev | b35bcf2 | 2014-02-07 16:50:35 -0800 | [diff] [blame^] | 25 | - ndnsec-keygen /tmp/key | ndnsec-install-cert - |
Yi Huang | 71929b3 | 2014-01-29 21:47:09 -0700 | [diff] [blame] | 26 | script: |
| 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. |