forked from radareorg/radare2-extras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
111 lines (106 loc) · 5.11 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
os:
- linux
compiler:
- clang
addons:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
apt:
packages:
- g++
- llvm-dev
- libatomic-ops-dev
- mono-xbuild
- curl
- tcc
- libboost-dev
- libqt4-dev
- cmake
- cmake-data
- ninja-build
- libboost-dev
- libqt4-dev
- exuberant-ctags
- libelf-dev
- libgmp-dev
- zlib1g-dev
- swig
env:
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i armthumb"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i baleful"
# - TESTS="r2pm -i bcl" [BR] https://travis-ci.org/radare/radare2-extras/builds/157522362
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i blackfin"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i blessr2"
# - TESTS="r2pm -i bpf" [BR] https://travis-ci.org/radare/radare2-extras/builds/157522362
# - TESTS="r2pm -i dlang" [BR] https://travis-ci.org/radare/radare2-extras/builds/157522362
- TESTS="r2pm -i dirtycow"
- TESTS="r2pm -i lang-duktape"
- TESTS="cd .. && export R2PM_GITDIR=$(pwd) && git clone git://git.code.sf.net/p/libdwarf/code libdwarf-code && cd libdwarf-code && ./configure && make && cd .. && r2pm -i dwarf-parser && cd radare2-extras && cd radare2-regressions && make dwarf && cd .. && cd .. && r2pm -u libdwarf && rm -rf libdwarf-code" #need to remove libdwarf? or travis destroys the vm so no issue in that?
- TESTS="r2pm -i r2frida"
# - TESTS="r2pm -i io-ewf" # https://github.com/travis-ci/apt-package-whitelist/issues/3205
# - TESTS="r2pm -i keystone-lib && r2pm -i keystone && cd radare2-regressions && make keystone && cd .." [BR] https://travis-ci.org/radare/radare2-extras/builds/157522362
- TESTS="export R2PM_GITDIR='/home/travis/build/radare' && r2pm -i mdmp && cd radare2-regressions && ./r2r mdmp && cd .."
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i microblaze"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i msil"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i ppcdisasm"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i psosvm"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i pyc"
- TESTS="r2pm -i vala && r2pm -i valabind && r2pm -i r2api-python"
# - TESTS="r2pm -i r2pipe-cs" [BR] https://travis-ci.org/radare/radare2-extras/builds/157522362
- TESTS="r2pm -i r2pipe-go"
- TESTS="r2pm -i r2pipe-js"
- TESTS="r2pm -i r2pipe-py"
- TESTS="r2pm -i r2pipe-rb"
# - TESTS="r2pm -i r2pipe-vala" https://travis-ci.org/radare/radare2-extras/builds/157522362
- TESTS="r2pm -i radare2"
# - TESTS="r2pm -i r2snow" https://travis-ci.org/radare/radare2-extras/jobs/199500082
# - TESTS="r2pm -i radeco" [BR] https://travis-ci.org/radare/radare2-extras/builds/157522362
- TESTS="r2pm -i retdec"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i swf && cd radare2-regressions && make swf && cd .."
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i m68k-net && cd radare2-regressions && make m68k-extras && cd .."
# - TESTS="r2pm -i swig" Sorry. This package cannot be installed in your home.
- TESTS="r2pm -i syms2elf"
# - TESTS="r2pm -i tcc" [BR] https://travis-ci.org/radare/radare2-extras/builds/157522362
- TESTS="r2pm -i unicorn-lib && r2pm -i unicorn" # need to do this properly
- TESTS="r2pm -i vala"
- TESTS="r2pm -i valabind"
- TESTS="r2pm -i vapi"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i vc4"
- TESTS="r2pm -i winapi"
- TESTS="r2pm -i www-enyo"
# - TESTS="r2pm -i www-m" [BR] https://travis-ci.org/radare/radare2-extras/builds/157522362
- TESTS="r2pm -i www-p"
- TESTS="r2pm -i www-t"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i x86bea"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i x86tab"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i x86olly && cd radare2-regressions && make olly-extras && cd .."
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i z80-nc"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i yara && r2pm -i yara-r2"
- TESTS="export R2PM_GITDIR=${TRAVIS_BUILD_DIR} && r2pm -i x86zyan"
sudo:
- false
language:
- c
cache:
- ccache
- apt
before_script:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 7
- git clone https://github.com/radare/radare2-regressions
- git clone https://github.com/radare/radare2 && cd radare2
- ./configure --prefix=`pwd`/install > /dev/null
- make -s -j2 > /dev/null
- make install > /dev/null
- export PATH=${TRAVIS_BUILD_DIR}/radare2/install/bin:${PATH}
- export LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/radare2/install/lib:${LD_LIBRARY_PATH}
- export LIBR_INCLUDE=${TRAVIS_BUILD_DIR}/radare2/libr/include
- export LIBR_UTIL=${TRAVIS_BUILD_DIR}/radare2/libr/util
- export PKG_CONFIG_PATH=${TRAVIS_BUILD_DIR}/radare2/pkgcfg
- export GOPATH=${TRAVIS_BUILD_DIR}/radare2/
- curl -sSf https://static.rust-lang.org/rustup.sh | sh
- cd ..
script:
- ./configure --prefix=`pwd`/radare2/install
- r2pm init
- eval $TESTS