Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Add python3.7 support #12

Merged
merged 10 commits into from
Sep 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 23 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ env:
- REPO_DIR=gensim
- BUILD_COMMIT=3.6.0
- UNICODE_WIDTH=32
- BUILD_DEPENDS="numpy==1.11.3 scipy==0.18.1 six smart_open"
- GLOBAL_DEPENDS="six smart_open"
- BUILD_DEPENDS="numpy==1.11.3 scipy==0.18.1 ${GLOBAL_DEPENDS}"
- TEST_DEPENDS="pytest pytest-rerunfailures mock cython pyemd testfixtures scikit-learn Morfessor==2.0.2a4"
- MACOSX_DEPLOYMENT_TARGET=10.7
- WHEELHOUSE_UPLOADER_USERNAME="Lev.Konstantinovskiy"
Expand Down Expand Up @@ -54,20 +55,32 @@ matrix:
- PLAT=x86_64

- os: linux
env:
env:
- MB_PYTHON_VERSION=3.5
- PLAT=i686

- os: linux
env:
env:
- MB_PYTHON_VERSION=3.6
- PLAT=x86_64

- os: linux
env:
env:
- MB_PYTHON_VERSION=3.6
- PLAT=i686

- os: linux
env:
- BUILD_DEPENDS="numpy==1.14.5 scipy==1.1.0 ${GLOBAL_DEPENDS}"
- MB_PYTHON_VERSION=3.7
- PLAT=x86_64

- os: linux
env:
- BUILD_DEPENDS="numpy==1.14.5 scipy==1.1.0 ${GLOBAL_DEPENDS}"
- MB_PYTHON_VERSION=3.7
- PLAT=i686

# MacOS
- os: osx
language: generic
Expand All @@ -86,6 +99,12 @@ matrix:
env:
- MB_PYTHON_VERSION=3.6

- os: osx
language: generic
env:
- BUILD_DEPENDS="numpy==1.14.5 scipy==1.1.0 ${GLOBAL_DEPENDS}"
- MB_PYTHON_VERSION=3.7


before_install:
- source multibuild/common_utils.sh
Expand Down
12 changes: 11 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ environment:
secure: qXqY3dFmLOqvxa3Om2gQi/BjotTOK+EP2IPLolBNo0c61yDtNWxbmE4wH3up72Be

matrix:

- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7.12"
PYTHON_ARCH: "32"
Expand All @@ -34,6 +35,14 @@ environment:
PYTHON_VERSION: "3.6.0"
PYTHON_ARCH: "64"

- PYTHON: "C:\\Python37"
PYTHON_VERSION: "3.7.0"
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.0"
PYTHON_ARCH: "64"


matrix:
fast_finish: true
Expand All @@ -54,7 +63,8 @@ install:


# Install the build and runtime dependencies of the project.
- "%CMD_IN_ENV% pip install --timeout=60 --trusted-host 8003f898b26602186ccc-7b1aad3fab3cc330e1fd9d109892382a.ssl.cf2.rackcdn.com/ --find-links https://8003f898b26602186ccc-7b1aad3fab3cc330e1fd9d109892382a.ssl.cf2.rackcdn.com/ numpy==1.11.3 scipy==0.18.1 smart_open pytest pytest-rerunfailures mock cython pyemd testfixtures scikit-learn Morfessor==2.0.2a4"
- cmd: IF "%PYTHON_VERSION%"=="3.7.0" (%CMD_IN_ENV% pip install --timeout=60 numpy==1.14.5 scipy==1.1.0) ELSE (%CMD_IN_ENV% pip install --timeout=60 --trusted-host 8003f898b26602186ccc-7b1aad3fab3cc330e1fd9d109892382a.ssl.cf2.rackcdn.com/ --find-links https://8003f898b26602186ccc-7b1aad3fab3cc330e1fd9d109892382a.ssl.cf2.rackcdn.com/ numpy==1.11.3 scipy==0.18.1)
- "%CMD_IN_ENV% pip install --timeout=60 smart_open pytest pytest-rerunfailures mock cython pyemd testfixtures scikit-learn Morfessor==2.0.2a4"
- "%CMD_IN_ENV% python setup.py bdist_wheel bdist_wininst"
- ps: "ls dist"

Expand Down