forked from mikelbring/tinyissue
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (22 loc) · 702 Bytes
/
.travis.yml
File metadata and controls
27 lines (22 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
before_script:
- sh -c "sed -i -e s%'smtp'%'log'% config/mail.php"
- composer self-update
- touch storage/database.sqlite
- cp .env.testing .env
- composer install --prefer-source
- php artisan migrate
- sh -c "sed -i -e s%\<\?php%\<\?php\ include\ \'../c3.php\'\;% public/index.php"
- ./vendor/bin/codecept build
script:
- ./vendor/bin/codecept run --debug --coverage-xml
after_script:
- cat tests/_output/*.fail.html
- wget https://scrutinizer-ci.com/ocular.phar
- mv tests/_output/coverage.xml tests/_output/coverage.clover
- php ocular.phar code-coverage:upload --format=php-clover tests/_output/coverage.clover