-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy path.travis.yml
35 lines (32 loc) · 893 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
language: php
php:
- "7.1"
- "7.2"
- "7.3"
- "7.4"
- nightly
before_script:
#- pyrus install pear/PHP_CodeSniffer
## PHP Copy/Paste Detector
#- curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
## PHP Mess Detector
#- pear config-set preferred_state beta
#- printf "\n" | pecl install imagick
#- pear channel-discover pear.phpmd.org
#- pear channel-discover pear.pdepend.org
#- pear install --alldeps phpmd/PHP_PMD
#- phpenv rehash
script:
#- phpcs --standard=PHPCS --extensions=php --ignore=vendor ./
#- phpunit --configuration tests/phpunit.xml
## PHP Copy/Paste Detector
#- php phpcpd.phar ./ --verbose
## PHP Mess Detector
#- phpmd ./
#- find ./ -type f -name \*.php -exec php -l {} \; | grep "Errors parsing ";
- chmod -R 777 ./tests/phplint.sh
- ./tests/phplint.sh
matrix:
allow_failures:
- php: hhvm
fast_finish: true