From 095221ef7d26087d8e6d78435658fd5e81302fb1 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Fri, 24 May 2019 02:27:47 +0300 Subject: [PATCH 1/2] appveyor: build windows binary on python 3.7 Signed-off-by: Ruslan Kuprieiev --- .appveyor.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 3058889b8..efdcc6b03 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -26,16 +26,11 @@ environment: matrix: - - PYTHON: "C:\\Python27" - PYTHON_VERSION: "2.7.x" # currently 2.7.9 + - PYTHON: "C:\\Python37" + PYTHON_VERSION: "3.7.x" PYTHON_ARCH: "32" RUBY: C:\Ruby25\bin -# Disabled as unnecessary -# - PYTHON: "C:\\Python27-x64" -# PYTHON_VERSION: "2.7.x" # currently 2.7.9 -# PYTHON_ARCH: "64" - install: - SET PATH=%RUBY%;%PATH% - git clone -q https://github.com/nanaya-tachibana/oss-emulator.git From 4e9bc48f2a48b01516597af4b47b70133089c776 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Fri, 24 May 2019 06:09:32 +0300 Subject: [PATCH 2/2] travis: build binary on python 3 Signed-off-by: Ruslan Kuprieiev --- .travis.yml | 2 +- scripts/ci/before_deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9c053fc04..9a11871fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,7 +48,7 @@ matrix: language: ruby rvm: 2.4.0 env: - - PYTHON_VER=3.6.2 + - PYTHON_VER=3.7.3 - PYTHON_CONFIGURE_OPTS="--enable-framework" - if: type = cron OR tag is present os: osx diff --git a/scripts/ci/before_deploy.sh b/scripts/ci/before_deploy.sh index 74101bc89..4ba1419b6 100644 --- a/scripts/ci/before_deploy.sh +++ b/scripts/ci/before_deploy.sh @@ -27,7 +27,7 @@ if [[ -n "$TRAVIS_TAG" ]]; then fi PY_VER=$(python -c 'import sys; print(sys.version_info[0:2])') -if [[ "$PY_VER" != '(2, 7)' ]]; then +if [[ "$PY_VER" != '(3, 7)' ]]; then echo "Skipping building binary package because of a wrong python version." exit 0 fi