forked from always-open/laravel-migration-snapshot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (22 loc) · 657 Bytes
/
Copy path.travis.yml
File metadata and controls
29 lines (22 loc) · 657 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
28
29
language: php
php:
- 7.3
- 7.4
env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
- COMPOSER_FLAGS=""
services:
- mysql
- postgresql
sudo: required
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
- mysql -e 'CREATE DATABASE forge;'
- psql -c 'CREATE DATABASE forge;' -U postgres
- psql -c 'CREATE ROLE root SUPERUSER LOGIN;' -U postgres
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover --configuration phpunit.xml.travis --testdox
after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover