blob: e9fd66efb1e816fce48cbc1bed94d2076d7169b4 [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
11 - travis_retry sudo apt-get install -qq autotools-dev
Alexander Afanasyev20d2c582014-01-26 15:32:51 -080012 - travis_retry sudo apt-get install -qq ndnx-dev
Alexander Afanasyevb4500d92014-01-17 20:43:24 -080013 - 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
16script:
17 - autoreconf -f --install
Alexander Afanasyev9b18c562014-01-24 15:32:58 -080018 - ./configure --with-tests
Alexander Afanasyevb4500d92014-01-17 20:43:24 -080019 - make
20 - sudo make install
21 - sudo ldconfig
Alexander Afanasyev20d2c582014-01-26 15:32:51 -080022 - #
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 Afanasyevb4500d92014-01-17 20:43:24 -080035 - ./tests_boost/unit-tests -l all