Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-11-07 17:57:26 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-11-07 18:20:10 +0300
commitc0056feb3c9ad244fc409f16c266f1a3fd0e4e7d (patch)
treeea54177da9995b8090a42725fc044cb419b0e485 /.travis.yml
parent45f12b100f459833f3408cab1c098fec9b6a8d63 (diff)
Test against php 5.6 to 7.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml44
1 files changed, 28 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index b762aabf..807ba0ed 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,40 @@
sudo: true
language: php
php:
+ - 5.6
- 7
-
+ - 7.1
+ - 7.2
env:
global:
- CORE_BRANCH=master
- APP_NAME=richdocuments
matrix:
- - DB=sqlite
+ - DB=mysql;CODECHECK=1
+ - DB=mysql;CODECHECK=2
+ - DB=mysql;CODECHECK=3
+
+matrix:
+ exclude:
+ - php: 5.6 # Not compatible
+ env: DB=mysql;CODECHECK=1
+ - php: 5.6 # Not compatible
+ env: DB=mysql;CODECHECK=3
+ include:
+ - php: 5.6
+ env: DB=sqlite;CORE_BRANCH=stable12
+ - php: 7.0
+ env: DB=sqlite;CORE_BRANCH=stable13
+ - php: 7.2
+ env: DB=mysql
+ - php: 7.2
+ env: DB=pgsql
+ - php: 7.2
+ env: DB=mysql;JSTESTS=1
+ allow_failures:
+ - env: DB=mysql;CODECHECK=2
+ fast_finish: true
+
branches:
only:
@@ -41,17 +67,3 @@ script:
- sh -c "if [ '$JSTESTS' != '1' -a '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then wget https://scrutinizer-ci.com/ocular.phar; fi"
- sh -c "if [ '$JSTESTS' != '1' -a '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi"
- cd ../
-
-matrix:
- include:
- - env: DB=sqlite;CORE_BRANCH=stable12
- - env: DB=sqlite;CORE_BRANCH=stable13
- - env: DB=mysql
- - env: DB=pgsql
- - env: DB=mysql;CODECHECK=1
- - env: DB=mysql;CODECHECK=2
- - env: DB=mysql;CODECHECK=3
- - env: DB=mysql;JSTESTS=1
- allow_failures:
- - env: DB=mysql;CODECHECK=2
- fast_finish: true