lektor-website/.travis.yml

20 lines
492 B
YAML

language: python
python: 2.7
install:
- "pip install -U pip"
- "pip install git+https://github.com/lektor/lektor#egg=Lektor"
script:
- "lektor build"
- "if [ ! -z \"$LEKTOR_DEPLOY_KEY\" ] && [ \"$TRAVIS_BRANCH\" == \"master\" ]; then lektor deploy production; fi"
cache:
directories:
- $HOME/.cache/pip
- $HOME/.cache/lektor/builds
addons:
ssh_known_hosts: flow.srv.pocoo.org
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/f0c538cdfc9883f81e34