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