Skip to content

Commit

Permalink
phpcs path fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
samwilson committed Feb 12, 2016
1 parent a710455 commit b4ce697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ before_script:
- sed -i "s/yourpasswordhere//" wp-tests-config.php
- cd "/tmp/wordpress/src/wp-content/plugins/$PLUGIN_SLUG"
- composer install
- $TRAVIS_BUILD_DIR/vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs
- vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs

# Run the actual tests.
script:
- phpunit
- $TRAVIS_BUILD_DIR/vendor/bin/phpcs --standard=phpcs.xml $TRAVIS_BUILD_DIR/tests $TRAVIS_BUILD_DIR/src
- vendor/bin/phpcs --standard=phpcs.xml $TRAVIS_BUILD_DIR/tests $TRAVIS_BUILD_DIR/src

0 comments on commit b4ce697

Please sign in to comment.