trying python 3.6 on windows

This commit is contained in:
Shay Palachy
2019-07-13 16:36:42 +03:00
parent 21d8c40caa
commit 32ac29a7bd
+36 -23
View File
@@ -12,6 +12,21 @@ matrix:
- python: 3.7
dist: xenial
sudo: true
# ======= OSX ========
- name: "Python 2.7.14 on macOS 10.13"
os: osx
osx_image: xcode9.3 # Python 2.7.14_2 running on macOS 10.13
language: shell # 'language: python' is an error on Travis CI macOS
# sudo: true
before_install:
- python --version
# - pip install -U pip
- python -m pip install --upgrade pip
- pip install pytest
- pip install codecov
- pip install pymongo
script: python -m pytest
after_success: python -m codecov
- name: "Python 3.6.5 on macOS 10.13"
os: osx
osx_image: xcode9.4 # Python 3.6.5 running on macOS 10.13
@@ -36,29 +51,7 @@ matrix:
- pip3 install pymongo
script: python3 -m pytest
after_success: python 3 -m codecov
- name: "Python 2.7.14 on macOS 10.13"
os: osx
osx_image: xcode9.3 # Python 2.7.14_2 running on macOS 10.13
language: shell # 'language: python' is an error on Travis CI macOS
# sudo: true
before_install:
- python --version
# - pip install -U pip
- pip install -U pytest
- pip install codecov
- pip install pymongo
script: python -m pytest
after_success: python -m codecov
- name: "Python 3.7 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade pytest
- pip3 install codecov
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
# ====== WINDOWS =========
- name: "Python 2.7 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
@@ -69,6 +62,26 @@ matrix:
- pip install --upgrade pytest
- pip install codecov
env: PATH=/c/Python27:/c/Python27/Scripts:$PATH
- name: "Python 3.6 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.6.7
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade pytest
- pip3 install codecov
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: "Python 3.7 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade pytest
- pip3 install codecov
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
before_install:
# coverage submission packages
- python --version