1
0
Fork 0
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:
Petko Bordjukov 2016-05-12 19:41:16 +03:00
parent 7220ee134c
commit 4190e394e1

View file

@ -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