From 174c7f6e30f3e14eed8f8f3ddffc14f82654c69a Mon Sep 17 00:00:00 2001 From: robbt Date: Thu, 23 Apr 2020 08:43:13 -0400 Subject: [PATCH 01/10] Make travis CI use 1.0 explicitly --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index ba6984565..18919653d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ dist: trusty +version: ~> 1.0 language: php php: # the latest and greatest, has some issues that are excluded below in matrix.allow_failures From 35a5dff881fa39c2db93d0e57bc0600a6aee5aec Mon Sep 17 00:00:00 2001 From: robbt Date: Thu, 23 Apr 2020 12:07:48 -0400 Subject: [PATCH 02/10] Trying to modify php 7.3 to run python script --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 18919653d..7e782e896 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ matrix: - env: PYTHON=false php: 7.2 # there are some issues with phpunit as well as some deep in zf1 on 7.3 - - env: PYTHON=false + #- env: PYTHON=false php: 7.3 exclude: # by excluding all of python we make way to just run python tests in one seperate instance From a6eafe64a000789bf3f2e213c96b43792e9718e8 Mon Sep 17 00:00:00 2001 From: robbt Date: Thu, 23 Apr 2020 12:14:02 -0400 Subject: [PATCH 03/10] Modifying php 7.0 to have python=true to attempt to run the python tests and mkdocs update during that test --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7e782e896..79911bffb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,14 +31,14 @@ matrix: - env: PYTHON=false php: 7.2 # there are some issues with phpunit as well as some deep in zf1 on 7.3 - #- env: PYTHON=false + - env: PYTHON=false php: 7.3 exclude: # by excluding all of python we make way to just run python tests in one seperate instance - env: PYTHON=true include: - # using latest to run python on since it will last the longest - - php: 7.3 + # having php 7.0 run python tests because travisCI quit running a independent job with 7.3 and 7.0 can still run phpunit tests + - php: 7.0 env: PYTHON=true addons: apt: From 936798354ebcf1c023e0cc8cb889b477a08d8d8a Mon Sep 17 00:00:00 2001 From: robbt Date: Thu, 23 Apr 2020 12:26:17 -0400 Subject: [PATCH 04/10] Tried moving the exclude and include under the jobs as per docs example --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 79911bffb..0b975ee58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,6 +33,7 @@ matrix: # there are some issues with phpunit as well as some deep in zf1 on 7.3 - env: PYTHON=false php: 7.3 +jobs: exclude: # by excluding all of python we make way to just run python tests in one seperate instance - env: PYTHON=true From 15cdbdd65dd07dfd45ff97ea3bf4b5135caed174 Mon Sep 17 00:00:00 2001 From: robbt Date: Thu, 23 Apr 2020 12:38:09 -0400 Subject: [PATCH 05/10] trying to get python to only run on one job --- .travis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0b975ee58..1013cc4d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,10 +19,10 @@ env: global: - ENVIRONMENT=testing - LIBRETIME_LOG_DIR=/tmp/log/libretime - matrix: + jobs: - PYTHON=false - PYTHON=true -matrix: +jobs: allow_failures: # there are currently some testing issues with DateTime precision on 7.1 - env: PYTHON=false @@ -33,14 +33,13 @@ matrix: # there are some issues with phpunit as well as some deep in zf1 on 7.3 - env: PYTHON=false php: 7.3 -jobs: exclude: # by excluding all of python we make way to just run python tests in one seperate instance - env: PYTHON=true include: - # having php 7.0 run python tests because travisCI quit running a independent job with 7.3 and 7.0 can still run phpunit tests - - php: 7.0 - env: PYTHON=true + # having the latest run as php 7.3 to do the python tests + php: 7.3 + - env: PYTHON=true addons: apt: packages: From a4da0866af2fafbe7085ef49947e3591f0666b39 Mon Sep 17 00:00:00 2001 From: robbt Date: Thu, 23 Apr 2020 12:47:30 -0400 Subject: [PATCH 06/10] minor syntax change to avoid breaking yml file and hopefully run python tests only once --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1013cc4d0..1bac8c315 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,8 +38,8 @@ jobs: - env: PYTHON=true include: # having the latest run as php 7.3 to do the python tests - php: 7.3 - env: PYTHON=true + php: 7.3 addons: apt: packages: From 9a59f2647349139648a8b317237c4fda60f2c9d1 Mon Sep 17 00:00:00 2001 From: robbt Date: Thu, 23 Apr 2020 12:50:39 -0400 Subject: [PATCH 07/10] changed order of include and exclude to see if additional job is ran --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1bac8c315..5bd72fde1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,13 +33,14 @@ jobs: # there are some issues with phpunit as well as some deep in zf1 on 7.3 - env: PYTHON=false php: 7.3 - exclude: - # by excluding all of python we make way to just run python tests in one seperate instance - - env: PYTHON=true include: # having the latest run as php 7.3 to do the python tests - env: PYTHON=true php: 7.3 + exclude: + # by excluding all of python we make way to just run python tests in one seperate instance + - env: PYTHON=true + addons: apt: packages: From f5eea96fe3834041ac7c8ff368dfc6d3a4bc343b Mon Sep 17 00:00:00 2001 From: robbt Date: Thu, 23 Apr 2020 13:00:00 -0400 Subject: [PATCH 08/10] seeing if adding a name includes a job --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5bd72fde1..71e259518 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,8 @@ jobs: php: 7.3 include: # having the latest run as php 7.3 to do the python tests - - env: PYTHON=true + - name: "python test and doc push" + env: PYTHON=true php: 7.3 exclude: # by excluding all of python we make way to just run python tests in one seperate instance From dc2b8261bc98da9f50a3f735d753c0da26151fa8 Mon Sep 17 00:00:00 2001 From: robbt Date: Thu, 23 Apr 2020 13:17:43 -0400 Subject: [PATCH 09/10] travis CI making exclude specific to all versions of php other than 7.3 --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 71e259518..b655edc2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,6 +41,12 @@ jobs: exclude: # by excluding all of python we make way to just run python tests in one seperate instance - env: PYTHON=true + php: 5.6 + php: 5.4 + php: 7.0 + php: 7.1 + php: 7.2 + addons: apt: From 8e27c777d8eb788b71306031210bdd138fe06e32 Mon Sep 17 00:00:00 2001 From: robbt Date: Thu, 23 Apr 2020 13:26:08 -0400 Subject: [PATCH 10/10] Even more explicit to avoid running python tests on any php version other than 7.3 --- .travis.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index b655edc2e..e9cd45305 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,21 +33,18 @@ jobs: # there are some issues with phpunit as well as some deep in zf1 on 7.3 - env: PYTHON=false php: 7.3 - include: - # having the latest run as php 7.3 to do the python tests - - name: "python test and doc push" - env: PYTHON=true - php: 7.3 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 + php: 7.2 + - env: PYTHON=true + php: 7.1 + - env: PYTHON=true + php: 7.0 - env: PYTHON=true php: 5.6 + - env: PYTHON=true php: 5.4 - php: 7.0 - php: 7.1 - php: 7.2 - - addons: apt: packages: