Don't fail a PR if it isn't deployed

This commit is contained in:
David Baumgold 2016-06-02 16:23:53 -07:00
parent c15c79f9be
commit 4d3482a698
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ install:
- "pip install git+https://github.com/lektor/lektor#egg=Lektor" - "pip install git+https://github.com/lektor/lektor#egg=Lektor"
script: script:
- "lektor build" - "lektor build"
- "test \"$TRAVIS_PULL_REQUEST\" == \"false\" && test \"$TRAVIS_BRANCH\" == \"master\" && lektor deploy production" - "test \"$TRAVIS_PULL_REQUEST\" == \"false\" && test \"$TRAVIS_BRANCH\" == \"master\" && lektor deploy production || exit 0"
cache: cache:
directories: directories:
- $HOME/.cache/pip - $HOME/.cache/pip