Skip to content

Commit 17bd7b7

Browse files
committed
PHPLIB-330: Add phpcs checks to travis pipeline
1 parent 3af32c2 commit 17bd7b7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,20 @@ jobs:
2525

2626
- stage: Smoke Testing
2727
php: "7.3"
28+
env:
29+
- CHECKS=phpunit
30+
- stage: Smoke Testing
31+
php: "7.1"
32+
before_install: []
33+
before_script:
34+
- pecl install -f mongodb-${DRIVER_VERSION}
35+
- composer require --no-update doctrine/coding-standard=^6.0
36+
- composer install --no-interaction --no-progress --no-suggest ${COMPOSER_OPTIONS}
37+
script: vendor/bin/phpcs
38+
after_script: []
39+
after_failure: []
40+
env:
41+
- CHECKS=phpcs
2842

2943
# Test remaining supported PHP versions
3044
- stage: Test

0 commit comments

Comments
 (0)