mirror of
https://github.com/lektor/lektor-website.git
synced 2025-01-31 14:31:29 +01:00
a98b2fe9f9
Now that Lektor supports Python 3, we need to document this support. This change is perhaps a bit extreme: it replaces all explicit references to Python 2.7 with explicit references to Python 3.5. However, it's a good start, and it can and should be reviewed before being merged.
24 lines
463 B
YAML
24 lines
463 B
YAML
language: python
|
|
python: 3.5
|
|
install:
|
|
- "pip install -U pip"
|
|
- "pip install git+https://github.com/lektor/lektor#egg=Lektor"
|
|
script:
|
|
- "lektor build"
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
- $HOME/.cache/lektor/builds
|
|
deploy:
|
|
provider: script
|
|
script: lektor deploy production
|
|
on:
|
|
branch: master
|
|
addons:
|
|
ssh_known_hosts: flow.srv.pocoo.org
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/f0c538cdfc9883f81e34
|