summaryrefslogtreecommitdiffstats
path: root/admin/survey/minify/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/survey/minify/.travis.yml19
1 files changed, 16 insertions, 3 deletions
diff --git a/admin/survey/minify/.travis.yml b/admin/survey/minify/.travis.yml
index a8a35cd..c89a368 100644
--- a/admin/survey/minify/.travis.yml
+++ b/admin/survey/minify/.travis.yml
@@ -5,7 +5,8 @@ dist: trusty
jobs:
fast_finish: true
allow_failures:
- - php: "hhvm"
+ - php: "nightly"
+ - name: "Php CS Fixer"
include:
- php: "5.3"
dist: precise
@@ -15,8 +16,13 @@ jobs:
- php: "7.0"
- php: "7.1"
- php: "7.2"
+ - php: "7.3"
+ - php: "7.4"
- php: "nightly"
- - php: "hhvm"
+ - name: "Php CS Fixer"
+ php: "7.3"
+ env:
+ - PHP_CS_FIXER=1
env:
- CLOSURE_VERSION: 20161024
@@ -36,7 +42,14 @@ before_script:
- tests/dl-closure.sh
script:
+ - PATH=vendor/bin:$PATH
- composer validate
- - phpunit --verbose
+ - |
+ if [ "$PHP_CS_FIXER" ]; then
+ composer config --unset platform.php
+ composer require --dev friendsofphp/php-cs-fixer:2.16
+ php-cs-fixer fix --verbose --diff --dry-run --ansi
+ fi
+ - vendor/bin/phpunit --verbose
# vim:ts=2:sw=2:et