blob: 6755b237e547d229a5df23bc6c32daddc40b9a93 [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
Alexander Afanasyev1e0a0772014-01-28 20:07:07 -080017 - ./waf -j1
Alexander Afanasyev553d0c82014-01-28 19:19:39 -080018 - 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)
Alexander Afanasyevad1baf62014-02-13 01:04:00 -080022 - travis_retry git clone git://github.com/named-data/ndnd-tlv ndnd-tlv
Alexander Afanasyev20d2c582014-01-26 15:32:51 -080023 - 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 Afanasyevad1baf62014-02-13 01:04:00 -080033 - ./build/unit-tests -l test_suite