From ded14d04e016ca9c16fe5aed414b5955a331ab7b Mon Sep 17 00:00:00 2001 From: Joseph Nix Date: Tue, 3 Jul 2018 17:01:48 -0500 Subject: [PATCH 1/4] [upgrade-py-node-build-versions] Upgrading the versions of python and node that are used to build the website. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 78dc5306..f29e7550 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: python -python: 3.5 +python: 3.7 +env: TRAVIS_NODE_VERSION=10 install: - "pip install -U pip" - "pip install git+https://github.com/lektor/lektor#egg=Lektor" From 97fb5a9f82b349be72f7ac71819027630a8e1017 Mon Sep 17 00:00:00 2001 From: Joseph Nix Date: Tue, 3 Jul 2018 18:04:09 -0500 Subject: [PATCH 2/4] [upgrade-py-node-build-versions] limiting builds --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index f29e7550..b15c15c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,9 @@ language: python python: 3.7 env: TRAVIS_NODE_VERSION=10 +branches: + only: + - master install: - "pip install -U pip" - "pip install git+https://github.com/lektor/lektor#egg=Lektor" From eb56ac4450950e838d874e3eca18d6a027d199f9 Mon Sep 17 00:00:00 2001 From: Joseph Nix Date: Thu, 5 Jul 2018 13:06:05 -0500 Subject: [PATCH 3/4] [upgrade-py-node-build-versions] Upgrading a few straggling references to an older python version. --- content/docs/deployment/travisci/contents.lr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 From 207fb7dedd40160d0ceec0467a7025d654a50e37 Mon Sep 17 00:00:00 2001 From: Joseph Nix Date: Fri, 7 Sep 2018 14:46:08 -0500 Subject: [PATCH 4/4] [upgrade-py-node-build-versions] Now building with xenial and sudo so the 3.7 builds will complete, since that's the only way to use 3.7 on Travis-CI right now. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index b15c15c0..f0c45024 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ language: python python: 3.7 env: TRAVIS_NODE_VERSION=10 +dist: xenial +sudo: true branches: only: - master