lektor-website/.travis.yml

15 lines
356 B
YAML
Raw Normal View History

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"
- "if [ ! -z \"$LEKTOR_DEPLOY_KEY\" ]; 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
addons:
ssh_known_hosts: flow.srv.pocoo.org