-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.10.0
-
Component/s: Continuous Integration, Rust
-
Labels:
Since the Rust project isn't at the repo root, Travis-CI won't compiled cache artifacts by default. This leads to long CI times as all packages get recompiled (see https://docs.travis-ci.com/user/caching/#Rust-Cargo-cache for what gets cached).
In https://travis-ci.org/pitrou/arrow/jobs/376859806 I tried the following:
export CARGO_TARGET_DIR=$TRAVIS_BUILD_DIR/target
and after a first run, the build time went down to 2 minutes (from 15-18 minutes).
- links to