blob: 128be0b1b0cb95fa08f65ebca3fbc38efc92f6f6 [file] [log] [blame]
language: cpp
compiler:
- gcc
before_install:
- travis_retry sudo add-apt-repository -y ppa:named-data/ppa
- travis_retry sudo apt-get update -qq
- travis_retry sudo apt-get install -qq autotools-dev
- travis_retry sudo apt-get install -qq ndnx-dev
- travis_retry sudo apt-get install -qq libboost-all-dev
- travis_retry sudo apt-get install -qq libcrypto++-dev
- travis_retry sudo apt-get install -qq libsqlite3-dev
script:
- autoreconf -f --install
- ./configure --with-tests
- make
- sudo make install
- sudo ldconfig
- #
- # Some tests now require daemon to run (and daemon needs the library to be compiled)
- travis_retry git clone git://github.com/cawka/ndnd-tlv ndnd-tlv
- cd ndnd-tlv
- ./waf configure
- ./waf -j1
- sudo ./waf install
- cd ..
- #
- #
- ndnd-tlv-start
- sleep 1
- #
- ./tests_boost/unit-tests -l all