forked from php-censor/php-censor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (33 loc) · 712 Bytes
/
Copy path.travis.yml
File metadata and controls
44 lines (33 loc) · 712 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
matrix:
fast_finish: true
services:
- mysql
- postgresql
install:
- composer selfupdate
- composer install
before_script:
- mysql -e "create database IF NOT EXISTS test_db;" -uroot
- psql -c 'create database test_db;' -U postgres
script:
- vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email:
recipients:
- poisoncorpsee@gmail.com
on_success: always
on_failure: always