more versions

This commit is contained in:
Shay Palachy
2019-07-13 16:07:39 +03:00
parent abf467a047
commit 2f2547cd06
+20 -4
View File
@@ -12,22 +12,36 @@ matrix:
- python: 3.7
dist: xenial
sudo: true
- name: "Python 3.7.2 on macOS"
- name: "Python 3.6.5 on macOS 10.13"
os: osx
osx_image: xcode10.2 # Python 3.7.2 running on macOS 10.14.3
osx_image: xcode9.4 # Python 3.6.5 running on macOS 10.13
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- python3 --version
- pip3 install -U pip
- pip3 install -U pytest
- pip3 install codecov
- pip3 install pymongo
script: python3 -m pytest
after_success: python 3 -m codecov
- name: "Python 2.7.12 on macOS"
- name: "Python 3.7.2 on macOS 10.14"
os: osx
osx_image: xcode7.3 # Python 2.7.12 running on macOS 10.11
osx_image: xcode10.2 # Python 3.7.2 running on macOS 10.14.3
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- python3 --version
- pip3 install -U pip
- pip3 install -U pytest
- pip3 install codecov
- 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
before_install:
- python --version
- pip install -U pip
- pip install -U pytest
- pip install codecov
@@ -39,12 +53,14 @@ matrix:
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
- pip install -U pip
- pip install -U pytest
- pip install codecov