Only trigger RTD build after docs-travis target passes and not after every task.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/f835197b
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/f835197b
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/f835197b

Branch: refs/heads/trunk
Commit: f835197bd63f7459d5a5b97970e1d4f80b528455
Parents: 3a1adc4
Author: Tomaz Muraus <[email protected]>
Authored: Sat Jan 16 21:16:44 2016 +0100
Committer: Tomaz Muraus <[email protected]>
Committed: Sat Jan 16 21:16:44 2016 +0100

----------------------------------------------------------------------
 .travis.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/f835197b/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index e282202..44af8dc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,8 @@ matrix:
     - python: 2.7
       env: ENV=docs
       before_script: TOX_ENV=docs-travis
+      # Trigger ReadTheDocs build
+      after_success: ./contrib/trigger_rtd_build.py 8284
 
 install:
   - TOX_ENV=py$TRAVIS_PYTHON_VERSION
@@ -33,10 +35,6 @@ install:
 script:
   - tox -e $TOX_ENV
 
-after_success:
-  # Trigger ReadTheDocs build
-  - ./contrib/trigger_rtd_build.py 8284
-
 notifications:
   # Disabled until ASF switches to new mailing list software
   # when we can whitelist addresses

Reply via email to