2015-12-19 15:01:19 +01:00
|
|
|
language: python
|
2015-12-19 14:58:24 +01:00
|
|
|
python: 2.7
|
2015-12-20 11:07:16 +01:00
|
|
|
install:
|
|
|
|
- "pip install -U pip"
|
|
|
|
- "pip install git+https://github.com/lektor/lektor#egg=Lektor"
|
2015-12-22 13:34:07 +01:00
|
|
|
script:
|
|
|
|
- "lektor build"
|
2015-12-24 00:46:11 +01:00
|
|
|
- "if [ ! -z \"$LEKTOR_DEPLOY_KEY\" ] && [ \"$TRAVIS_BRANCH\" == \"master\" ]; then lektor deploy production; fi"
|
2015-12-19 14:58:24 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
2015-12-19 19:08:35 +01:00
|
|
|
- $HOME/.cache/lektor/builds
|
2015-12-19 15:03:22 +01:00
|
|
|
addons:
|
|
|
|
ssh_known_hosts: flow.srv.pocoo.org
|
2015-12-23 22:57:41 +01:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/f0c538cdfc9883f81e34
|