Simplified travis

This commit is contained in:
Armin Ronacher 2015-12-25 13:42:00 +01:00
parent 95fe817a22
commit 079158a2f1
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"
script:
- "lektor build"
- "if [ ! -z \"$LEKTOR_DEPLOY_KEY\" ] && [ \"$TRAVIS_PULL_REQUEST\" == \"false\" ] && [ \"$TRAVIS_BRANCH\" == \"master\" ]; then lektor deploy production; fi"
- "test \"$TRAVIS_PULL_REQUEST\" == \"false\" && test \"$TRAVIS_BRANCH\" == \"master\" && lektor deploy production"
cache:
directories:
- $HOME/.cache/pip