Skip to content

Commit

Permalink
Add cargo clean for CI
Browse files Browse the repository at this point in the history
This is to reduce the disk usage for travis-ci,
which requires < 2GB disk.
  • Loading branch information
OTL committed Jul 27, 2018
1 parent 9f52639 commit be278e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ main() {
esac

test -f Cargo.lock || cargo generate-lockfile
# clean to reduce the disk usage
cargo clean
cargo build --release

# TODO Update this to package the right artifacts
Expand Down

0 comments on commit be278e6

Please sign in to comment.