forked from tommy-muehle/tooly-composer-script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 993 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
41
42
language: php
sudo: false
branches:
except:
- experimental
cache:
directories:
- $HOME/.composer/cache/files
matrix:
include:
- php: 5.6
- php: 7.0
- php: 7.1
- php: hhvm
- php: nightly
allow_failures:
- php: nightly
- php: hhvm
fast_finish: true
before_install:
- composer selfupdate
install:
- composer update --no-interaction
script:
- ./vendor/bin/phpcs.phar --standard=PSR2 ./src -v
- ./vendor/bin/phpcpd.phar ./src
- ./vendor/bin/security-checker.phar security:check ./composer.lock
- ./vendor/bin/phpmd.phar ./src text ./phpmd.xml
- ./vendor/bin/phpunit.phar --coverage-clover build/logs/clover.xml
after_success:
- ./vendor/bin/test-reporter
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/f5bcd59af82eb6dd98b3
on_success: always
on_failure: always
on_start: never
addons:
code_climate:
repo_token: 7f44085be777d3dec1dd765e61461ad1a6f62110e8607f50c25214a417f2af1a