Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ deploy:
keep-history: true
on:
branch: release
condition: $DEPLOY_DOC=true
condition: $DEPLOY_DOC = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it not be DEPLOY_DOC=true? Without the dollar symbol?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on in the deployment section seems to be different from the if elsewhere. Here is the quote form the doc:

condition: deploy when a single bash condition evaluates to true. This must be a string value, and is equivalent to if [[ <condition> ]]; then <deploy>; fi. For example, $CC = gcc.

Here is a working build: https://travis-ci.org/RustPython/RustPython/builds/478843944 . The deployment steps failed because I set a bad token to avoid actually deploying. But the deployment step seems to kick-off correctly.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, this is pretty crappy, but good research!

- provider: pages
repo: RustPython/demo
target-branch: master
Expand All @@ -112,4 +112,4 @@ deploy:
keep-history: true
on:
branch: release
condition: $DEPLOY_DEMO=true
condition: $DEPLOY_DEMO = true