Skip to content

Commit 613e177

Browse files
authored
Merge pull request #684 from svenstaro/cache-emscripten-web
Try caching cargo web's emscripten installation
2 parents f5e749c + 8297a83 commit 613e177

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ matrix:
137137
- rustup target add wasm32-unknown-emscripten
138138
- nvm install 9
139139
- ./utils/ci/install_cargo_web.sh
140+
- cargo web prepare-emscripten
140141
- cargo web -V
141142
addons:
142143
chrome: stable
@@ -211,7 +212,11 @@ script:
211212

212213
after_script: set +e
213214

214-
cache: cargo
215+
cache:
216+
cargo: true
217+
directories:
218+
- .local/share/cargo-web
219+
215220
before_cache:
216221
# Travis can't cache files that are not readable by "others"
217222
- chmod -R a+r $HOME/.cargo

0 commit comments

Comments
 (0)