diff options
| author | Bert Belder <bertbelder@gmail.com> | 2018-12-19 19:34:26 +0100 |
|---|---|---|
| committer | Bert Belder <bertbelder@gmail.com> | 2018-12-20 02:23:49 +0100 |
| commit | aac92cb70e106c3173c638e26d1b3e2e3d08fe70 (patch) | |
| tree | 48f80e99fb2eee50aa5c572157f38e7dc0ba6dff /.travis.yml | |
| parent | 9e70b0d10985ccf695b58872dafc7b0c33657372 (diff) | |
ci: start sccache early and throw away the S3 access key
This avoids accidentally leaking the key in the build log.
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 59d7c7d94..5e6e38105 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,6 +55,10 @@ install: rm -rf "$RUSTUP_HOME"toolchains/*/share before_script: - ./tools/setup.py +# Start sccache, then throw away the S3 access key. +- |- + sccache --start-server + unset AWS_SECRET_ACCESS_KEY script: - |- # Check lint and format. @@ -84,6 +88,7 @@ script: ./tools/build.py -C target/release -j2 DENO_BUILD_MODE=release ./tools/test.py +- sccache --stop-server before_deploy: - gzip -c target/release/deno > target/release/deno_${TRAVIS_OS_NAME}_x64.gz deploy: |
