silverstripe-userforms/.travis.yml

43 lines
1007 B
YAML
Raw Normal View History

2013-03-29 09:54:12 +01:00
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
2015-07-24 04:37:48 +02:00
language: php
sudo: false
2015-08-13 02:44:39 +02:00
php:
- 5.3
- 5.4
- 5.5
- 5.6
2013-03-29 09:54:12 +01:00
env:
2015-04-30 09:43:17 +02:00
- DB=MYSQL CORE_RELEASE=3
2015-07-13 05:36:20 +02:00
- DB=MYSQL CORE_RELEASE=3.1
2013-03-29 09:54:12 +01:00
- DB=PGSQL CORE_RELEASE=3.1
matrix:
2015-08-13 02:44:39 +02:00
exclude:
- php: 5.4
env: DB=MYSQL CORE_RELEASE=3
- php: 5.5
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.4
env: DB=PGSQL CORE_RELEASE=3.1
- php: 5.5
env: DB=PGSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.1
2013-03-29 09:54:12 +01:00
before_script:
2015-08-13 02:44:39 +02:00
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
2013-03-29 09:54:12 +01:00
script:
2015-08-13 02:44:39 +02:00
- phpunit --coverage-clover userforms/coverage.clover userforms/tests
- cd userforms
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover