summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-12-04 22:31:57 +0800
committerkennytm <kennytm@gmail.com>2017-12-27 00:00:45 +0800
commit519f92f2aa7f2ec6833c57460283784a5077f73e (patch)
tree343e2e354a3c7b11e4ffe5ae2b202bc97996dfa6 /.travis.yml
parentcargo update and add miri as the rustc workspace member. (diff)
downloadgrust-519f92f2aa7f2ec6833c57460283784a5077f73e.tar.gz
grust-519f92f2aa7f2ec6833c57460283784a5077f73e.tar.bz2
grust-519f92f2aa7f2ec6833c57460283784a5077f73e.tar.xz
Upload the toolstate to the remote repository.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 4458cd222f..4a55aab5a4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -179,6 +179,17 @@ matrix:
179 - env: IMAGE=x86_64-gnu-incremental 179 - env: IMAGE=x86_64-gnu-incremental
180 if: branch = auto 180 if: branch = auto
181 181
182 - stage: publish toolstate
183 if: branch = master AND type = push
184 before_install: []
185 install: []
186 cache: false
187 sudo: false
188 script:
189 MESSAGE_FILE=$(mktemp -t msg.XXXXXX);
190 . src/ci/docker/x86_64-gnu-tools/repo.sh;
191 commit_toolstate_change "$MESSAGE_FILE" "$TRAVIS_BUILD_DIR/src/ci/docker/x86_64-gnu-tools/publish.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "$MESSAGE_FILE"
192
182env: 193env:
183 global: 194 global:
184 - SCCACHE_BUCKET=rust-lang-ci-sccache2 195 - SCCACHE_BUCKET=rust-lang-ci-sccache2
@@ -186,6 +197,8 @@ env:
186 - AWS_ACCESS_KEY_ID=AKIAJAMV3QAMMA6AXHFQ 197 - AWS_ACCESS_KEY_ID=AKIAJAMV3QAMMA6AXHFQ
187 # AWS_SECRET_ACCESS_KEY=... 198 # AWS_SECRET_ACCESS_KEY=...
188 - secure: "j96XxTVOSUf4s4r4htIxn/fvIa5DWbMgLqWl7r8z2QfgUwscmkMXAwXuFNc7s7bGTpV/+CgDiMFFM6BAFLGKutytIF6oA02s9b+usQYnM0th7YQ2AIgm9GtMTJCJp4AoyfFmh8F2faUICBZlfVLUJ34udHEe35vOklix+0k4WDo=" 199 - secure: "j96XxTVOSUf4s4r4htIxn/fvIa5DWbMgLqWl7r8z2QfgUwscmkMXAwXuFNc7s7bGTpV/+CgDiMFFM6BAFLGKutytIF6oA02s9b+usQYnM0th7YQ2AIgm9GtMTJCJp4AoyfFmh8F2faUICBZlfVLUJ34udHEe35vOklix+0k4WDo="
200 # TOOLSTATE_REPO_ACCESS_TOKEN=...
201 - secure: "cFh8thThqEJLC98XKI5pfqflUzOlxsYPRW20AWRaYOOgYHPTiGWypTXiPbGSKaeAXTZoOA+DpQtEmefc0U6lt9dHc7a/MIaK6isFurjlnKYiLOeTruzyu1z7PWCeZ/jKXsU2RK/88DBtlNwfMdaMIeuKj14IVfpepPPL71ETbuk="
189 202
190before_install: 203before_install:
191 - zcat $HOME/docker/rust-ci.tar.gz | docker load || true 204 - zcat $HOME/docker/rust-ci.tar.gz | docker load || true