blob: 3199dc81c3475488c75d4265928ece9c3ce62ced [file] [log] [blame]
Alexander Afanasyevb4500d92014-01-17 20:43:24 -08001language: cpp
2compiler:
3 - gcc
Alexander Afanasyev3222fed2014-01-26 17:30:17 -08004notifications:
5 email:
6 on_success: always
7 on_failure: always
Alexander Afanasyevb4500d92014-01-17 20:43:24 -08008before_install:
Alexander Afanasyev20d2c582014-01-26 15:32:51 -08009 - travis_retry sudo add-apt-repository -y ppa:named-data/ppa
Alexander Afanasyevb4500d92014-01-17 20:43:24 -080010 - travis_retry sudo apt-get update -qq
Alexander Afanasyev20d2c582014-01-26 15:32:51 -080011 - travis_retry sudo apt-get install -qq ndnx-dev
Alexander Afanasyevb4500d92014-01-17 20:43:24 -080012 - 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
15script:
Alexander Afanasyev553d0c82014-01-28 19:19:39 -080016 - ./waf configure --with-tests
17 - ./waf
18 - sudo ./waf install
Alexander Afanasyevb4500d92014-01-17 20:43:24 -080019 - sudo ldconfig
Alexander Afanasyev20d2c582014-01-26 15:32:51 -080020 - #
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 Afanasyev553d0c82014-01-28 19:19:39 -080033 - ./build/tests/unit-tests -l all