-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
40 lines (29 loc) · 949 Bytes
/
.travis.yml
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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
php:
- 5.6
- 7.0
- 7.1
env:
global:
- DEFAULT=1
- secure: j+1g/twymlVnvpQlsdS+82IY3xR8GIBB7m8bEmpYP6J1ketRToJWANDre6Xb/33JHEzekcr5Kt0F2UDkNzR5rNbviHqYH4EyHA7VZTikqSSelY+lZF7qo1xTyGRnCJZV6c2bri/rPVSjw1FYngNFh5FGCh7PmpzzeQZkhyCG3Cs=
matrix:
fast_finish: true
before_install:
- composer self-update
- if [ "$GITHUB_COMPOSER_AUTH" ]; then composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH; fi
install:
- composer install --prefer-dist --no-interaction
before_script:
- mkdir -p build/logs
script:
- php vendor/bin/phpcs -n -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=vendor --ignore=tests/bootstrap.php .
- php vendor/bin/phpunit --stderr --coverage-clover build/coverage/xml
after_script:
- vendor/bin/codacycoverage clover build/coverage/xml
notifications:
email: false