diff --git a/.travis.yml b/.travis.yml index 78dc5306..f0c45024 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,11 @@ language: python -python: 3.5 +python: 3.7 +env: TRAVIS_NODE_VERSION=10 +dist: xenial +sudo: true +branches: + only: + - master install: - "pip install -U pip" - "pip install git+https://github.com/lektor/lektor#egg=Lektor" diff --git a/content/docs/deployment/travisci/contents.lr b/content/docs/deployment/travisci/contents.lr index b4c383d3..df0a3502 100644 --- a/content/docs/deployment/travisci/contents.lr +++ b/content/docs/deployment/travisci/contents.lr @@ -24,7 +24,7 @@ file into your repository. You can copy paste this over: ```yaml language: python -python: 3.5 +python: 3.7 install: "pip install Lektor" script: "lektor build" deploy: @@ -115,7 +115,7 @@ caching. Adjust your `.travis.yml` file to look like this: ```yaml language: python -python: 3.5 +python: 3.7 cache: directories: - $HOME/.cache/pip @@ -135,7 +135,7 @@ config: ```yaml language: python -python: 3.5 +python: 3.7 cache: directories: - $HOME/.cache/pip