summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-12-26 18:03:00 +0000
committerbors <bors@rust-lang.org>2017-12-26 18:03:00 +0000
commit503153e9506890c31749768474506e0b4e3eb4ef (patch)
tree1bdfae1215771ca33d110a887528425f84f6493a /.travis.yml
parentAuto merge of #46956 - estebank:incompatible-arm-span-label, r=Zoxc (diff)
parentClarify toolstate names. Move publish.py to a more convenient location. (diff)
downloadgrust-503153e9506890c31749768474506e0b4e3eb4ef.tar.gz
grust-503153e9506890c31749768474506e0b4e3eb4ef.tar.bz2
grust-503153e9506890c31749768474506e0b4e3eb4ef.tar.xz
Auto merge of #46554 - kennytm:45861-step-4-5-6-7-upload-test-result-and-remove-toolstate-toml, r=alexcrichton
[auto-toolstate] Upload the toolstate result to an external git repository, and removes BuildExpectation This PR consists of 3 commits. 1. (Steps 4–6) The `toolstate.json` output previously collected is now pushed to the https://github.com/rust-lang-nursery/rust-toolstate repository. 2. (Step 7) Revert commit ab018c7, thus removing all traces of `BuildExpectation` and `toolstate.toml`. 3. (Step 8) Adjust CONTRIBUTION.md for the new procedure. These are the last steps of #45861. After this PR, the toolstate will be automatically computed and published to https://rust-lang-nursery.github.io/rust-toolstate/. There is no need to manage toolstate.toml again. Closes #45861.
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 090e46b9ea..6a7725e01c 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/tools/publish_toolstate.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