mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-25 14:19:51 +00:00
57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
# travis.yml for testing radare2. Initially written in 2014-2016, by jn__.
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
language: c
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
matrix:
|
|
exclude:
|
|
- os: osx
|
|
compiler: gcc
|
|
|
|
sudo: false
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- dc
|
|
- binutils
|
|
- cabextract
|
|
- libcurl4-openssl-dev
|
|
- libelf-dev
|
|
- libdw-dev
|
|
- jq
|
|
|
|
cache:
|
|
- ccache
|
|
- apt
|
|
|
|
script:
|
|
- git clone --depth 1 `doc/repo REGRESSIONS`
|
|
- ./configure --prefix=`pwd`/install > /dev/null
|
|
- make -s -j2 > /dev/null
|
|
- make install > /dev/null
|
|
- export PKG_CONFIG_PATH=${TRAVIS_BUILD_DIR}/pkgcfg:${PKG_CONFIG_PATH}
|
|
- export PATH=${TRAVIS_BUILD_DIR}/install/bin:${PATH}
|
|
- export LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/install/lib:${LD_LIBRARY_PATH}
|
|
#- [ "$TRAVIS_OS_NAME" != "osx" ] && mkdir -p /tmp/kcov && pushd /tmp/kcov
|
|
#- [ "$TRAVIS_OS_NAME" != "osx" ] && mkdir ${TRAVIS_BUILD_DIR}/kcov
|
|
#- [ "$TRAVIS_OS_NAME" != "osx" ] && wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make && make install DESTDIR=../tmp && popd
|
|
#- [ "$TRAVIS_OS_NAME" != "osx" ] && export KCOV="/tmp/kcov/kcov-master/tmp/usr/local/bin/kcov --coveralls-id=$TRAVIS_JOB_ID ${TRAVIS_BUILD_DIR}/kcov"
|
|
- export NOOK=1
|
|
- export NOREPORT=1
|
|
- cd radare2-regressions
|
|
- VERBOSE=1 make -k all
|
|
- make unit_tests
|
|
|
|
notifications:
|
|
irc: "chat.freenode.net#radare"
|
|
on_success: never
|
|
on_failure: always
|