Skip to content

Commit 4b77955

Browse files
committed
Adjust travis config to use new WPCS dep setup
1 parent b5dffff commit 4b77955

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.travis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@ before_install:
1414
# Update Composer
1515
- composer self-update
1616

17-
# Install phpcs with wp-coding-standards
18-
- composer create-project wp-coding-standards/wpcs:0.12.0 --no-dev $HOME/wpcs
19-
2017
script:
21-
# Check project with phps
22-
- ~/wpcs/vendor/bin/phpcs --extensions=php --standard=./phpcs.xml -n -p .
23-
24-
# Check that composer is valid and installs correctly
2518
- composer install -o --prefer-dist --no-interaction
19+
20+
# Check project with phps
21+
- ./vendor/bin/phpcs -n -p .

0 commit comments

Comments
 (0)