.travis.yml (1051B)
1 #Test php5.6 and php7.0 2 language: php 3 php: 4 - 5.6 5 - 7.0 6 - hhvm 7 #RequireDB 8 env: 9 - DB=mysqli 10 #Allow errors in php7 11 matrix: 12 allow_failures: 13 - php: 7.0 14 - php: hhvm 15 #Create Database 16 before_script: 17 - wget https://phar.phpunit.de/phpunit.phar 18 - chmod +x phpunit.phar 19 - mysql -e 'create database RPICMS;' 20 - composer require codeclimate/php-test-reporter --dev 21 #RunTests 22 script: php phpunit.phar --configuration phpunit_$DB.xml --verbose 23 #after scripts 24 after_script: 25 - CODECLIMATE_REPO_TOKEN=ade1bcb53e705341208c7c5138a92b8bdf6babd489e6d43054e86ea097cb42b2 php ./vendor/bin/test-reporter 26 #Webhook for Gitter 27 notifications: 28 webhooks: 29 urls: 30 - https://webhooks.gitter.im/e/2352a1a1d808a3b834cf 31 on_success: change # options: [always|never|change] default: always 32 on_failure: always # options: [always|never|change] default: always 33 on_start: never # options: [always|never|change] default: always 34 addons: 35 code_climate: 36 repo_token: ade1bcb53e705341208c7c5138a92b8bdf6babd489e6d43054e86ea097cb42b2