2014-06-13 02:45:31 +02:00
|
|
|
# travis.yml for testing radare2. Initially written in 2014, by jn__.
|
2015-10-11 00:08:47 +02:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2014-06-13 02:45:31 +02:00
|
|
|
|
|
|
|
language: c
|
2015-10-11 00:08:47 +02:00
|
|
|
|
2014-06-13 02:45:31 +02:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2015-10-11 00:08:47 +02:00
|
|
|
- clang
|
2015-04-01 12:55:08 +02:00
|
|
|
|
2015-10-11 00:55:07 +02:00
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- os: osx
|
|
|
|
compiler: gcc
|
|
|
|
|
2015-04-03 15:41:48 +02:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2015-10-11 00:08:47 +02:00
|
|
|
- dc
|
2015-04-15 00:47:16 +02:00
|
|
|
- cabextract
|
2015-04-03 15:41:48 +02:00
|
|
|
|
2014-06-13 02:45:31 +02:00
|
|
|
install:
|
|
|
|
- git clone `doc/repo REGRESSIONS`
|
2015-08-28 16:03:13 +02:00
|
|
|
|
2014-06-13 02:45:31 +02:00
|
|
|
script:
|
2015-10-11 00:08:47 +02:00
|
|
|
- ./configure --prefix=`pwd`/install > /dev/null
|
2015-04-01 04:17:19 +02:00
|
|
|
- make -s > /dev/null
|
2015-04-03 15:41:48 +02:00
|
|
|
- make install > /dev/null
|
2015-04-03 16:55:26 +02:00
|
|
|
- export PATH=${TRAVIS_BUILD_DIR}/install/bin:${PATH}
|
|
|
|
- export LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/install/lib:${LD_LIBRARY_PATH}
|
2015-10-10 13:52:20 -04:00
|
|
|
- export LIBR_INCLUDE=${TRAVIS_BUILD_DIR}/libr/include
|
|
|
|
- export LIBR_UTIL=${TRAVIS_BUILD_DIR}/libr/util
|
2015-04-03 16:55:26 +02:00
|
|
|
- cd radare2-regressions
|
2015-10-19 23:37:42 +02:00
|
|
|
- VERBOSE=1 make -k all
|
2015-10-10 18:26:06 -04:00
|
|
|
- make unit_tests
|
2015-08-28 16:01:33 +02:00
|
|
|
|
2015-04-07 12:57:10 +02:00
|
|
|
notifications:
|
|
|
|
irc: "chat.freenode.net#radare"
|
2015-10-12 19:10:25 +02:00
|
|
|
on_success: never
|
2015-10-10 21:10:37 +02:00
|
|
|
on_failure: always
|