2015-02-07 01:23:44 -06:00
|
|
|
language: php
|
2015-03-18 15:51:56 -05:00
|
|
|
sudo: false
|
|
|
|
|
2015-02-07 01:23:44 -06:00
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.5
|
|
|
|
- 5.6
|
|
|
|
|
|
|
|
install:
|
2015-04-02 15:46:50 -05:00
|
|
|
- composer update
|
2015-02-07 03:16:14 -06:00
|
|
|
- php artisan env
|
2015-03-31 10:49:47 -05:00
|
|
|
- mv -v .env.testing .env
|
2015-02-07 01:23:44 -06:00
|
|
|
|
|
|
|
script:
|
2015-05-08 00:48:04 -05:00
|
|
|
- phpunit
|
2015-02-07 01:23:44 -06:00
|
|
|
|
|
|
|
after_script:
|
2015-03-31 10:49:47 -05:00
|
|
|
- php vendor/bin/coveralls
|
2015-05-24 14:45:10 -05:00
|
|
|
- CODECLIMATE_REPO_TOKEN=26489f9e854fcdf7e7660ba29c1455694685465b1f90329a79f7d2bf448acb61 ./vendor/bin/test-reporter --stdout > codeclimate.json
|
2015-05-25 13:08:31 -05:00
|
|
|
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
|
2015-05-31 13:52:20 -05:00
|
|
|
- wget https://scrutinizer-ci.com/ocular.phar
|
2015-06-05 06:39:24 -05:00
|
|
|
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
|