firefly-iii/.travis.yml
2015-05-31 20:52:20 +02:00

22 lines
639 B
YAML

language: php
sudo: false
php:
- 5.5
- 5.6
install:
- composer update
- php artisan env
- mv -v .env.testing .env
script:
- phpunit
after_script:
- php vendor/bin/coveralls
- CODECLIMATE_REPO_TOKEN=26489f9e854fcdf7e7660ba29c1455694685465b1f90329a79f7d2bf448acb61 ./vendor/bin/test-reporter --stdout > codeclimate.json
- "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"
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml