mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-31 18:43:28 +00:00
Improves travis-ci build time
- Compilation is cached with ccache - Apt packages are cached too - Make uses the `-j2` flag since the container has 2 cores
This commit is contained in:
parent
ad6baf0824
commit
fc8d6cf5e2
@ -23,12 +23,14 @@ addons:
|
||||
- dc
|
||||
- cabextract
|
||||
|
||||
install:
|
||||
- git clone `doc/repo REGRESSIONS`
|
||||
cache:
|
||||
- ccache
|
||||
- apt
|
||||
|
||||
script:
|
||||
- git clone --depth 1 `doc/repo REGRESSIONS`
|
||||
- ./configure --prefix=`pwd`/install > /dev/null
|
||||
- make -s > /dev/null
|
||||
- make -s -j2 > /dev/null
|
||||
- make install > /dev/null
|
||||
- export PATH=${TRAVIS_BUILD_DIR}/install/bin:${PATH}
|
||||
- export LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/install/lib:${LD_LIBRARY_PATH}
|
||||
|
Loading…
x
Reference in New Issue
Block a user