From cee2aadd828efa717d08a15eb2cb35fe0b7e6943 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 9 Jan 2018 15:55:10 +0100 Subject: [PATCH] Disable incremental compilation on CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don’t keep the `target` directory between builds, and incremental cache takes a lot of space. --- .travis.yml | 1 + appveyor.yml | 1 + etc/ci/buildbot_steps.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0ada8a1408a..8b128eeedac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,6 +40,7 @@ matrix: env: CCACHE=/usr/bin/ccache RUSTFLAGS=-Dwarnings + CARGO_INCREMENTAL=0 addons: apt: sources: diff --git a/appveyor.yml b/appveyor.yml index 184e347a16e..a5e70156ba8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,6 +2,7 @@ version: 1.0.{build} environment: CCACHE_DIR: "%APPVEYOR_BUILD_FOLDER%\\.ccache" + CARGO_INCREMENTAL: 0 RUST_BACKTRACE: 1 RUSTFLAGS: -Dwarnings # The appveyor image we use has a pretty huge set of things installed... we make the diff --git a/etc/ci/buildbot_steps.yml b/etc/ci/buildbot_steps.yml index 62ba5177841..a37593de292 100644 --- a/etc/ci/buildbot_steps.yml +++ b/etc/ci/buildbot_steps.yml @@ -1,5 +1,6 @@ env: RUSTFLAGS: -Dwarnings + CARGO_INCREMENTAL: "0" mac-rel-wpt1: - ./mach clean-nightlies --keep 3 --force