mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 05:40:10 +00:00
Use APT addon on Travis
This enables builds on container-based infrastructure.
This commit is contained in:
parent
41886684c5
commit
732e9f27cc
15
.travis.yml
15
.travis.yml
@ -55,10 +55,16 @@ env:
|
||||
#- TESTS=commands # r2 commands related
|
||||
- TESTS=tools # tools related
|
||||
|
||||
# Force build on container-based infrastructure
|
||||
sudo: false
|
||||
|
||||
# Additional depencies like capstone are downloaded by the r2 makefiles.
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- dc # GNU dc, used by r2r.
|
||||
|
||||
install:
|
||||
- sudo apt-get install dc # GNU dc, used by r2r.
|
||||
- git clone `doc/repo REGRESSIONS`
|
||||
# This little hack will prevent the test names from being erased in the
|
||||
# travis logfile.
|
||||
@ -74,9 +80,12 @@ script:
|
||||
# Limit the stack size (to 32MiB) to make ThreadSanitizer happy.
|
||||
- ulimit -s 32768
|
||||
# Now on to actually building stuff...
|
||||
- ./configure > /dev/null # TODO: Might enable some of the additional features.
|
||||
# Set prefix for which we don't need sudo
|
||||
- ./configure --prefix=`pwd`/install > /dev/null # TODO: Might enable some of the additional features.
|
||||
- make -s > /dev/null
|
||||
- sudo make install > /dev/null
|
||||
- make install > /dev/null
|
||||
- PATH=`pwd`/install/bin:$PATH
|
||||
- LD_LIBRARY_PATH=`pwd`/install/lib:$LD_LIBRARY_PATH
|
||||
- cd radare2-regressions
|
||||
# Run the tests, report only regressions as errors.
|
||||
- VERBOSE=1 make $TESTS
|
||||
|
Loading…
Reference in New Issue
Block a user