Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update testing #80

Merged
merged 5 commits into from
Oct 4, 2020
Merged
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
69 changes: 31 additions & 38 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
stages:
- lint
- test
- name: deploy_test
if:
Expand All @@ -10,12 +11,22 @@ stages:

jobs:
include:
- stage: lint
name: "Lint"
language: python
os: linux
env: MINICONDA_URL=http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
dist: bionic
python: 3.8
before_install: source travis/install_unix.sh
script: bash travis/lint.sh

- stage: test
name: "Ubuntu Xenial python 3.6"
name: "Ubuntu python 3.6"
language: python
os: linux
env: MINICONDA_URL=http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
dist: xenial
dist: bionic
python: 3.6
before_install: source travis/install_unix.sh
script: bash travis/test.sh
Expand All @@ -24,71 +35,53 @@ jobs:
- coveralls

- stage: test
name: "Ubuntu Xenial python 3.7"
name: "Ubuntu python 3.7"
language: python
os: linux
env: MINICONDA_URL=http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
dist: xenial
dist: bionic
python: 3.7
before_install: source travis/install_unix.sh
script: bash travis/test.sh

- stage: test
name: "Ubuntu Xenial python 3.8"
name: "Ubuntu python 3.8"
language: python
os: linux
env: MINICONDA_URL=http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
dist: xenial
dist: bionic
python: 3.8
before_install: source travis/install_unix.sh
script: bash travis/test.sh

- stage: test
name: "Windows Python 3.7"
name: "Windows Python 3.8"
language: shell
env: TRAVIS_PYTHON_VERSION=3.7
env: TRAVIS_PYTHON_VERSION=3.8
os: windows
before_install: source travis/install_windows.sh
script: bash travis/test.sh

- stage: test
name: "macOS Python 3.7"
name: "macOS Python 3.8"
os: osx
language: shell
env:
- TRAVIS_PYTHON_VERSION=3.7
- TRAVIS_PYTHON_VERSION=3.8
- MINICONDA_URL=https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
before_install: source travis/install_unix.sh
script: bash travis/test.sh

- stage: test
name: "Lint"
language: python
os: linux
env: MINICONDA_URL=http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
dist: xenial
python: 3.7
before_install: source travis/install_unix.sh
script: bash travis/lint.sh

- stage: deploy_test
name: "Windows Python 3.6"
language: shell
env: TRAVIS_PYTHON_VERSION=3.6
os: windows
before_install: source travis/install_windows.sh
script: bash travis/test.sh

- stage: deploy_test
name: "Windows Python 3.8"
name: "Windows Python 3.7"
language: shell
env: TRAVIS_PYTHON_VERSION=3.8
env: TRAVIS_PYTHON_VERSION=3.7
os: windows
before_install: source travis/install_windows.sh
script: bash travis/test.sh

- stage: deploy_test
name: "macOS Python 3.6"
name: "macOS Python 3.7"
os: osx
language: shell
env:
Expand All @@ -98,17 +91,17 @@ jobs:
script: bash travis/test.sh

- stage: deploy_test
name: "macOS Python 3.8"
os: osx
language: shell
env:
- TRAVIS_PYTHON_VERSION=3.8
- MINICONDA_URL=https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
name: "Ubuntu Xenial python 3.8"
language: python
os: linux
env: MINICONDA_URL=http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
dist: xenial
python: 3.8
before_install: source travis/install_unix.sh
script: bash travis/test.sh

- stage: deploy
os: bionic
dist: bionic
name: "Deploy Linux"
language: python
before_install: source travis/install_unix.sh
Expand Down