Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 4190e39

Browse files
committed
Fix issues with travis cache
1 parent 7220ee1 commit 4190e39

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ before_install:
3535
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then sudo gem install bundler; fi
3636
script:
3737
- if ! [ "$(ls -A vendor/v8/.git)" ] ; then rm -rf vendor/v8; fi
38+
- rm -rf vendor/depot_tools
39+
- git submodule update --init
3840
- MAKEFLAGS+=-j8 bundle exec rake spec binary --trace
3941
deploy:
4042
provider: releases
@@ -45,10 +47,13 @@ deploy:
4547
on:
4648
tags: true
4749
condition: $TRAVIS_OS_NAME = osx
50+
before_cache:
51+
- cd vendor/v8 && git clean -xdf && git checkout .
52+
- rm -rf vendor/depot_tools
4853
cache:
4954
bundler: true
5055
directories:
51-
- vendor/v8/.git
56+
- vendor
5257
notifications:
5358
recipients:
5459
- cowboyd@thefrontside.net

0 commit comments

Comments
 (0)