From eabd1fe571b5cafdcbf1e8721065fb68fbd3945f Mon Sep 17 00:00:00 2001 From: Naoya Kanai Date: Wed, 26 Sep 2018 22:01:55 -0700 Subject: [PATCH 1/5] config Flask SERVER_NAME to get rid of UserWarning --- tests/config_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/config_server.py b/tests/config_server.py index 4844b262a..370b45720 100644 --- a/tests/config_server.py +++ b/tests/config_server.py @@ -3,7 +3,7 @@ # This file is only needed for setting up a dedicated server configuration # with support for extracting username information and emailing users. -SERVER_NAME = 'localhost' +SERVER_NAME = 'localhost.localdomain' # --------------------------------------------------- # Database configuration From 28861f196c3da9e495961be7c818dc6e3f39b887 Mon Sep 17 00:00:00 2001 From: Naoya Kanai Date: Wed, 26 Sep 2018 23:07:08 -0700 Subject: [PATCH 2/5] configure Python version in CI --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 890616ac8..cd8b90a40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python python: - "2.7" - "3.4" + - "3.6" before_install: # We do this conditionally because it saves us some downloading if the @@ -18,8 +19,9 @@ before_install: # Useful for debugging any issues with conda - conda info -a # Replace dep1 dep2 ... with your dependencies - - conda install -c r r - - conda install -c r r-knitr + - conda create -n testenv python=$TRAVIS_PYTHON_VERSION + - source activate testenv + - conda install -c r r r-knitr install: - pip install pycodestyle - pip install .[all] From 9bebc10e8f02f1ef2e7d36473daba16b63874345 Mon Sep 17 00:00:00 2001 From: Naoya Kanai Date: Wed, 26 Sep 2018 23:16:31 -0700 Subject: [PATCH 3/5] add 3.5 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index cd8b90a40..3a44c3c9c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python python: - "2.7" - "3.4" + - "3.5" - "3.6" before_install: From 1270575643f205f45c7ead24c660bf91167b853e Mon Sep 17 00:00:00 2001 From: Naoya Kanai Date: Wed, 26 Sep 2018 23:32:43 -0700 Subject: [PATCH 4/5] appveyor --- appveyor.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 4ca7064ce..6f173215e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,9 +7,9 @@ environment: PYTHON_ARCH: "32" MINICONDA: C:\Miniconda - - PYTHON: "C:\\Python34" - PYTHON_VERSION: "3.4.1" - PYTHON_ARCH: "32" + - PYTHON: "C:\\Python37-x64" + PYTHON_VERSION: "3.7.0" + PYTHON_ARCH: "64" MINICONDA: C:\Miniconda3 init: @@ -20,8 +20,7 @@ init: # Useful for debugging any issues with conda - conda info -a # Replace dep1 dep2 ... with your dependencies - - conda install -c r r - - conda install -c r r-knitr + - conda install -c r r r-knitr install: - "%PYTHON%/Scripts/pip.exe install autopep8 pep8" From e4aece424e296a297afb7f524ca24f76946dbae8 Mon Sep 17 00:00:00 2001 From: Naoya Kanai Date: Thu, 27 Sep 2018 14:40:25 -0700 Subject: [PATCH 5/5] 3.6 on appveyor --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6f173215e..5103b1529 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,8 +7,8 @@ environment: PYTHON_ARCH: "32" MINICONDA: C:\Miniconda - - PYTHON: "C:\\Python37-x64" - PYTHON_VERSION: "3.7.0" + - PYTHON: "C:\\Python36-x64" + PYTHON_VERSION: "3.6.6" PYTHON_ARCH: "64" MINICONDA: C:\Miniconda3