From 7c8ebee43b20d84b5c5ba9ac645c7970d06fdee9 Mon Sep 17 00:00:00 2001 From: Shing Lyu Date: Mon, 7 Jan 2019 11:28:57 +0100 Subject: [PATCH] Limit the deployment only to the specfic build job --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index f9ec11485..f9a9b4291 100644 --- a/.travis.yml +++ b/.travis.yml @@ -69,6 +69,7 @@ matrix: if: branch = release env: - REGULAR_TEST=false + - DEPLOY_DOC=true - name: WASM online demo language: rust rust: nightly @@ -84,6 +85,7 @@ matrix: if: branch = release env: - REGULAR_TEST=false + - DEPLOY_DEMO=true allow_failures: - rust: nightly env: REGULAR_TEST=true @@ -99,6 +101,7 @@ deploy: keep-history: true on: branch: release + condition: $DEPLOY_DOC=true - provider: pages repo: RustPython/demo target-branch: master @@ -109,3 +112,4 @@ deploy: keep-history: true on: branch: release + condition: $DEPLOY_DEMO=true