mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Fix issues with travis cache
This commit is contained in:
parent
7220ee134c
commit
4190e394e1
1 changed files with 6 additions and 1 deletions
|
@ -35,6 +35,8 @@ before_install:
|
||||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then sudo gem install bundler; fi
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then sudo gem install bundler; fi
|
||||||
script:
|
script:
|
||||||
- if ! [ "$(ls -A vendor/v8/.git)" ] ; then rm -rf vendor/v8; fi
|
- if ! [ "$(ls -A vendor/v8/.git)" ] ; then rm -rf vendor/v8; fi
|
||||||
|
- rm -rf vendor/depot_tools
|
||||||
|
- git submodule update --init
|
||||||
- MAKEFLAGS+=-j8 bundle exec rake spec binary --trace
|
- MAKEFLAGS+=-j8 bundle exec rake spec binary --trace
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
|
@ -45,10 +47,13 @@ deploy:
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
condition: $TRAVIS_OS_NAME = osx
|
condition: $TRAVIS_OS_NAME = osx
|
||||||
|
before_cache:
|
||||||
|
- cd vendor/v8 && git clean -xdf && git checkout .
|
||||||
|
- rm -rf vendor/depot_tools
|
||||||
cache:
|
cache:
|
||||||
bundler: true
|
bundler: true
|
||||||
directories:
|
directories:
|
||||||
- vendor/v8/.git
|
- vendor
|
||||||
notifications:
|
notifications:
|
||||||
recipients:
|
recipients:
|
||||||
- cowboyd@thefrontside.net
|
- cowboyd@thefrontside.net
|
||||||
|
|
Loading…
Add table
Reference in a new issue