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 |
| 11 | - travis_retry sudo apt-get install -qq autotools-dev |
Alexander Afanasyev | 20d2c58 | 2014-01-26 15:32:51 -0800 | [diff] [blame] | 12 | - travis_retry sudo apt-get install -qq ndnx-dev |
Alexander Afanasyev | b4500d9 | 2014-01-17 20:43:24 -0800 | [diff] [blame] | 13 | - travis_retry sudo apt-get install -qq libboost-all-dev |
| 14 | - travis_retry sudo apt-get install -qq libcrypto++-dev |
| 15 | - travis_retry sudo apt-get install -qq libsqlite3-dev |
| 16 | script: |
| 17 | - autoreconf -f --install |
Alexander Afanasyev | 9b18c56 | 2014-01-24 15:32:58 -0800 | [diff] [blame] | 18 | - ./configure --with-tests |
Alexander Afanasyev | b4500d9 | 2014-01-17 20:43:24 -0800 | [diff] [blame] | 19 | - make |
| 20 | - sudo make install |
| 21 | - sudo ldconfig |
Alexander Afanasyev | 20d2c58 | 2014-01-26 15:32:51 -0800 | [diff] [blame] | 22 | - # |
| 23 | - # Some tests now require daemon to run (and daemon needs the library to be compiled) |
| 24 | - travis_retry git clone git://github.com/cawka/ndnd-tlv ndnd-tlv |
| 25 | - cd ndnd-tlv |
| 26 | - ./waf configure |
| 27 | - ./waf -j1 |
| 28 | - sudo ./waf install |
| 29 | - cd .. |
| 30 | - # |
| 31 | - # |
| 32 | - ndnd-tlv-start |
| 33 | - sleep 1 |
| 34 | - # |
Alexander Afanasyev | b4500d9 | 2014-01-17 20:43:24 -0800 | [diff] [blame] | 35 | - ./tests_boost/unit-tests -l all |