Merge pull request #98 from singingwolfboy/no-fail-ci

Don't fail a PR if it isn't deployed
This commit is contained in:
Armin Ronacher 2016-06-03 01:42:34 +02:00
commit adcb550c43
1 changed files with 5 additions and 1 deletions

View File

@ -5,11 +5,15 @@ 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"
cache: cache:
directories: directories:
- $HOME/.cache/pip - $HOME/.cache/pip
- $HOME/.cache/lektor/builds - $HOME/.cache/lektor/builds
deploy:
provider: script
script: lektor deploy production
on:
branch: master
addons: addons:
ssh_known_hosts: flow.srv.pocoo.org ssh_known_hosts: flow.srv.pocoo.org