forked from radareorg/radare2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (46 loc) · 1.5 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# travis.yml for testing radare2. Initially written in 2014, 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
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}
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then mkdir -p /tmp/kcov && pushd /tmp/kcov; fi
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then mkdir ${TRAVIS_BUILD_DIR}/kcov; fi
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then 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; fi
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then export KCOV="/tmp/kcov/kcov-master/tmp/usr/local/bin/kcov --coveralls-id=$TRAVIS_JOB_ID ${TRAVIS_BUILD_DIR}/kcov"; fi
- 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