mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 05:40:10 +00:00
travis: Switch on pulling from docker hub with fallback that builds image
This commit is contained in:
parent
6400570fe2
commit
4897b9d089
@ -21,7 +21,7 @@ cache:
|
||||
- ccache
|
||||
|
||||
before_install:
|
||||
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then docker build -t damo22/r2-travis:latest -f Dockerfile.travis . ; else rm -rf .nvm && git clone https://github.com/creationix/nvm.git .nvm && (cd .nvm && git checkout `git describe --abbrev=0 --tags`) && . .nvm/nvm.sh && nvm install 8.11.3; fi
|
||||
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then docker pull damo22/r2-travis || docker build -t damo22/r2-travis:latest -f Dockerfile.travis . ; else rm -rf .nvm && git clone https://github.com/creationix/nvm.git .nvm && (cd .nvm && git checkout `git describe --abbrev=0 --tags`) && . .nvm/nvm.sh && nvm install 8.11.3; fi
|
||||
|
||||
script:
|
||||
- export PR_NAME=$(echo $TRAVIS_PULL_REQUEST_SLUG | cut -d'/' -f1)
|
||||
|
Loading…
Reference in New Issue
Block a user