Alexander Afanasyev | b4500d9 | 2014-01-17 20:43:24 -0800 | [diff] [blame] | 1 | language: cpp |
| 2 | compiler: |
| 3 | - gcc |
Alexander Afanasyev | 3222fed | 2014-01-26 17:30:17 -0800 | [diff] [blame] | 4 | notifications: |
| 5 | email: |
| 6 | on_success: always |
| 7 | on_failure: always |
Alexander Afanasyev | b4500d9 | 2014-01-17 20:43:24 -0800 | [diff] [blame] | 8 | before_install: |
Alexander Afanasyev | 20d2c58 | 2014-01-26 15:32:51 -0800 | [diff] [blame] | 9 | - travis_retry sudo add-apt-repository -y ppa:named-data/ppa |
Alexander Afanasyev | b4500d9 | 2014-01-17 20:43:24 -0800 | [diff] [blame] | 10 | - travis_retry sudo apt-get update -qq |
Alexander Afanasyev | 20d2c58 | 2014-01-26 15:32:51 -0800 | [diff] [blame] | 11 | - travis_retry sudo apt-get install -qq ndnx-dev |
Alexander Afanasyev | b4500d9 | 2014-01-17 20:43:24 -0800 | [diff] [blame] | 12 | - travis_retry sudo apt-get install -qq libboost-all-dev |
| 13 | - travis_retry sudo apt-get install -qq libcrypto++-dev |
| 14 | - travis_retry sudo apt-get install -qq libsqlite3-dev |
| 15 | script: |
Alexander Afanasyev | 553d0c8 | 2014-01-28 19:19:39 -0800 | [diff] [blame] | 16 | - ./waf configure --with-tests |
Alexander Afanasyev | 1e0a077 | 2014-01-28 20:07:07 -0800 | [diff] [blame] | 17 | - ./waf -j1 |
Alexander Afanasyev | 553d0c8 | 2014-01-28 19:19:39 -0800 | [diff] [blame] | 18 | - sudo ./waf install |
Alexander Afanasyev | b4500d9 | 2014-01-17 20:43:24 -0800 | [diff] [blame] | 19 | - sudo ldconfig |
Alexander Afanasyev | 20d2c58 | 2014-01-26 15:32:51 -0800 | [diff] [blame] | 20 | - # |
| 21 | - # Some tests now require daemon to run (and daemon needs the library to be compiled) |
| 22 | - travis_retry git clone git://github.com/cawka/ndnd-tlv ndnd-tlv |
| 23 | - cd ndnd-tlv |
| 24 | - ./waf configure |
| 25 | - ./waf -j1 |
| 26 | - sudo ./waf install |
| 27 | - cd .. |
| 28 | - # |
| 29 | - # |
| 30 | - ndnd-tlv-start |
| 31 | - sleep 1 |
| 32 | - # |
Alexander Afanasyev | 90566dd | 2014-01-29 13:17:00 -0800 | [diff] [blame] | 33 | - ./build/unit-tests -l all |