Update .travis.yl

This commit is contained in:
Damian Mooyman 2016-12-16 10:15:36 +13:00
parent 1743ed1556
commit 26380e7135

View File

@ -7,17 +7,13 @@ language: php
matrix: matrix:
include: include:
- php: 5.3 - php: 5.3
env: DB=MYSQL CORE_RELEASE=3.1 env: DB=MYSQL CORE_RELEASE=3.4
- php: 5.4 - php: 5.4
env: DB=MYSQL CORE_RELEASE=3.2 env: DB=MYSQL CORE_RELEASE=3.5
- php: 5.5
env: DB=MYSQL CORE_RELEASE=3.3
- php: 5.6 - php: 5.6
env: DB=MYSQL CORE_RELEASE=3 env: DB=MYSQL CORE_RELEASE=3
- php: 5.6 - php: 5.6
env: DB=MYSQL CORE_RELEASE=3.1 SECUREASSETS=1 env: DB=MYSQL CORE_RELEASE=3.5 SECUREASSETS=1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.3
before_script: before_script:
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
@ -28,6 +24,7 @@ before_script:
script: script:
- vendor/bin/phpunit --coverage-clover coverage.clover userforms/tests - vendor/bin/phpunit --coverage-clover coverage.clover userforms/tests
- wget https://scrutinizer-ci.com/ocular.phar - wget https://scrutinizer-ci.com/ocular.phar
- cd ./userforms
- git remote rm origin - git remote rm origin
- git remote add origin git@github.com:silverstripe/silverstripe-userforms.git - git remote add origin git@github.com:silverstripe/silverstripe-userforms.git
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover - php ocular.phar code-coverage:upload --format=php-clover coverage.clover