1# Perform continuous integration testing with Travis CI. 2# 3# Copyright 2015 John McGehee. All Rights Reserved. 4# 5# Licensed under the Apache License, Version 2.0 (the "License"); 6# you may not use this file except in compliance with the License. 7# You may obtain a copy of the License at 8# 9# http://www.apache.org/licenses/LICENSE-2.0 10# 11# Unless required by applicable law or agreed to in writing, software 12# distributed under the License is distributed on an "AS IS" BASIS, 13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14# See the License for the specific language governing permissions and 15# limitations under the License. 16 17language: python 18 19before_script: 20 - ./.travis/install.sh 21 22jobs: 23 include: 24 - stage: flake8 25 script: ./.travis/run_flake.sh 26 27 - stage: test 28 script: 29 - ./.travis/run_tests.sh 30 - ./.travis/run_pytest_plugin_test.sh 31 python: 3.5.9 32 env: 33 - PYTHON=py35 34 - PY_VERSION=3.5.9 35 36 - stage: test 37 script: 38 - ./.travis/run_tests.sh 39 - ./.travis/run_pytest_fixture_test.sh 40 - ./.travis/run_pytest_fixture_param_test.sh 41 - ./.travis/run_pytest_plugin_test.sh 42 python: 3.6.9 43 env: 44 - PYTHON=py36 45 - PY_VERSION=3.6.9 46 47 - stage: test 48 script: 49 - ./.travis/run_tests.sh 50 - ./.travis/run_pytest_fixture_test.sh 51 - ./.travis/run_pytest_fixture_param_test.sh 52 - ./.travis/run_pytest_plugin_test.sh 53 python: 3.7.5 54 dist: xenial 55 sudo: true 56 env: 57 - PYTHON=py37 58 - PY_VERSION=3.7.5 59 60 - stage: test 61 script: 62 - ./.travis/run_tests.sh 63 - ./.travis/run_pytest_fixture_test.sh 64 - ./.travis/run_pytest_fixture_param_test.sh 65 - ./.travis/run_pytest_plugin_test.sh 66 python: 3.8.1 67 dist: xenial 68 sudo: true 69 env: 70 - PYTHON=py38 71 - PY_VERSION=3.8.1 72 73 - stage: test 74 script: 75 - ./.travis/run_tests.sh 76 - ./.travis/run_pytest_plugin_test.sh 77 python: pypy3.5-7.0.0 78 dist: xenial 79 sudo: true 80 env: PYTHON=pypy3 81 82 - stage: test 83 script: 84 - ./.travis/run_tests.sh 85 - ./.travis/run_pytest_fixture_test.sh 86 - ./.travis/run_pytest_fixture_param_test.sh 87 - ./.travis/run_pytest_plugin_test.sh 88 os: osx 89 language: generic 90 env: 91 - PYTHON=py36 92 - PY_VERSION=3.6.9 93 94 - stage: test 95 script: 96 - ./.travis/run_tests.sh 97 - ./.travis/run_pytest_fixture_test.sh 98 - ./.travis/run_pytest_fixture_param_test.sh 99 - ./.travis/run_pytest_plugin_test.sh 100 os: osx 101 language: generic 102 env: 103 - PYTHON=py37 104 - PY_VERSION=3.7.6 105 106 - stage: test 107 script: 108 - ./.travis/run_tests.sh 109 - ./.travis/run_pytest_fixture_test.sh 110 - ./.travis/run_pytest_fixture_param_test.sh 111 - ./.travis/run_pytest_plugin_test.sh 112 os: osx 113 language: generic 114 env: 115 - PYTHON=py38 116 - PY_VERSION=3.8.1 117 118 - stage: test 119 script: 120 - ./.travis/docker_tests.sh 121 language: minimal 122 env: 123 - VM=Docker 124 - DOCKERFILE=ubuntu 125 126 - stage: test 127 script: 128 - ./.travis/docker_tests.sh 129 language: minimal 130 env: 131 - VM=Docker 132 - DOCKERFILE=centos 133 134 - stage: test 135 script: 136 - ./.travis/docker_tests.sh 137 language: minimal 138 env: 139 - VM=Docker 140 - DOCKERFILE=fedora 141 142 - stage: test 143 script: 144 - ./.travis/docker_tests.sh 145 language: minimal 146 env: 147 - VM=Docker 148 - DOCKERFILE=debian 149