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
|
||||
script:
|
||||
- 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
|
||||
deploy:
|
||||
provider: releases
|
||||
|
@ -45,10 +47,13 @@ deploy:
|
|||
on:
|
||||
tags: true
|
||||
condition: $TRAVIS_OS_NAME = osx
|
||||
before_cache:
|
||||
- cd vendor/v8 && git clean -xdf && git checkout .
|
||||
- rm -rf vendor/depot_tools
|
||||
cache:
|
||||
bundler: true
|
||||
directories:
|
||||
- vendor/v8/.git
|
||||
- vendor
|
||||
notifications:
|
||||
recipients:
|
||||
- cowboyd@thefrontside.net
|
||||
|
|
Loading…
Add table
Reference in a new issue