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: |
Yi Huang | 71929b3 | 2014-01-29 21:47:09 -0700 | [diff] [blame] | 12 | - travis_retry sudo apt-get update |
Alexander Afanasyev | b5b6c64 | 2014-04-16 23:07:05 -0700 | [diff] [blame] | 13 | - travis_retry sudo apt-get install -qq libssl-dev libpcap-dev libboost1.48-all-dev libcrypto++-dev libsqlite3-dev |
Alexander Afanasyev | 4a77136 | 2014-04-24 21:29:33 -0700 | [diff] [blame] | 14 | - travis_retry git clone --depth 1 git://github.com/named-data/ndn-cxx ndn-cxx |
| 15 | - cd ndn-cxx |
Yi Huang | 71929b3 | 2014-01-29 21:47:09 -0700 | [diff] [blame] | 16 | - ./waf configure |
| 17 | - ./waf -j1 |
| 18 | - sudo ./waf install |
| 19 | - sudo ldconfig |
| 20 | - cd .. |
Alexander Afanasyev | b35bcf2 | 2014-02-07 16:50:35 -0800 | [diff] [blame] | 21 | - ndnsec-keygen /tmp/key | ndnsec-install-cert - |
Yi Huang | 71929b3 | 2014-01-29 21:47:09 -0700 | [diff] [blame] | 22 | script: |
| 23 | - ./waf configure --with-tests |
| 24 | - ./waf -j1 |
| 25 | - sudo ./waf install |
Alexander Afanasyev | b5b6c64 | 2014-04-16 23:07:05 -0700 | [diff] [blame] | 26 | - ./build/unit-tests-core |
| 27 | - ./build/unit-tests-daemon |
| 28 | - ./build/unit-tests-rib |
Yi Huang | 71929b3 | 2014-01-29 21:47:09 -0700 | [diff] [blame] | 29 | # 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. |