Travis-CI: cache the cargo dependencies, so they are only recompiled when updated

This commit is contained in:
ice_iix 2018-10-28 10:06:59 -07:00
parent 541d8c22b8
commit c477fa0089
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ matrix:
allow_failures:
- rust: nightly
fast_finish: true
cache: cargo
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sdl2 ; fi