mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
Merge pull request #2049 from efiop/python3-bin
ci: build binaries on python 3.7
This commit is contained in:
+2
-7
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user