Merge pull request #1007 from Robbt/travis-ci-1.0

Modify travis CI config to permit python tests to run once.
This commit is contained in:
Robb 2020-04-23 13:31:29 -04:00 committed by GitHub
commit a1bf9c77ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 7 deletions

View File

@ -1,4 +1,5 @@
dist: trusty dist: trusty
version: ~> 1.0
language: php language: php
php: php:
# the latest and greatest, has some issues that are excluded below in matrix.allow_failures # the latest and greatest, has some issues that are excluded below in matrix.allow_failures
@ -18,10 +19,10 @@ env:
global: global:
- ENVIRONMENT=testing - ENVIRONMENT=testing
- LIBRETIME_LOG_DIR=/tmp/log/libretime - LIBRETIME_LOG_DIR=/tmp/log/libretime
matrix: jobs:
- PYTHON=false - PYTHON=false
- PYTHON=true - PYTHON=true
matrix: jobs:
allow_failures: allow_failures:
# there are currently some testing issues with DateTime precision on 7.1 # there are currently some testing issues with DateTime precision on 7.1
- env: PYTHON=false - env: PYTHON=false
@ -33,12 +34,17 @@ matrix:
- env: PYTHON=false - env: PYTHON=false
php: 7.3 php: 7.3
exclude: exclude:
# by excluding all of python we make way to just run python tests in one seperate instance # we need to explicitly exclude python for every version of php other than 7.3 to make way to just run python tests in one seperate instance
- env: PYTHON=true - env: PYTHON=true
include: php: 7.2
# using latest to run python on since it will last the longest - env: PYTHON=true
- php: 7.3 php: 7.1
env: PYTHON=true - env: PYTHON=true
php: 7.0
- env: PYTHON=true
php: 5.6
- env: PYTHON=true
php: 5.4
addons: addons:
apt: apt:
packages: packages: