diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 44 |
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 |