Skip to content

Commit

Permalink
Set clone depth to 1 to save space on windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
zacps committed Oct 13, 2018
1 parent 82dc1fc commit 253193b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
@@ -1,6 +1,9 @@
language: rust
sudo: false

git:
depth: 1

cache: cargo

os:
Expand Down Expand Up @@ -32,6 +35,8 @@ matrix:

script:
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then choco install windows-sdk-10.1 -y; fi
# DEBUG:
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then cat C:\Users\travis\AppData\Local\Temp\chocolatey\*.log; fi

- if [ -n "$CLIPPY" ]; then cargo clippy --all-features --all-targets; fi
- if [ -z "$CLIPPY" ]; then cargo test; fi
Expand Down

0 comments on commit 253193b

Please sign in to comment.