Skip to content

Commit

Permalink
Minor fixups to CI and make it run PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
thiemowmde committed Jun 23, 2017
1 parent 6498e61 commit a3e652b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ php:
- 7.1
- hhvm

before_script:
- composer install --prefer-source
install: travis_retry composer install

script:
- composer test
Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,12 @@
},
"scripts": {
"phpcs": [
"vendor/bin/phpcs src/* tests/* --standard=phpcs.xml -sp"
"phpcs src/* tests/* --standard=phpcs.xml -sp"
],
"test": [
"vendor/bin/phpunit"
"@validate --no-interaction",
"@phpcs",
"phpunit"
]
}
}

0 comments on commit a3e652b

Please sign in to comment.