AlternC/.travis.yml

18 lines
528 B
YAML
Raw Normal View History

2014-03-19 10:23:02 +00:00
language: php
2016-03-07 13:47:38 +00:00
services:
- mysql
2014-03-19 10:23:02 +00:00
php:
2014-06-24 14:11:51 +00:00
- 5.5
2014-03-19 10:23:02 +00:00
- 5.4
2014-03-26 15:39:13 +00:00
- 5.3
2018-04-16 01:45:18 +00:00
script: ../vendor/bin/phpunit --coverage-clover=coverage.clover
2014-03-21 14:19:07 +00:00
before_script:
2016-03-07 13:41:49 +00:00
# pear.phpunit.de offline, and travis have phpunit
# - pear channel-discover pear.phpunit.de
# - pear install phpunit/DbUnit
2016-03-07 13:58:53 +00:00
- mysql -e 'create database alternc_test DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'
2014-03-21 14:19:07 +00:00
- cd phpunit
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover