Skip to content

Commit

Permalink
Merge pull request #98 from DataValues/ciCs
Browse files Browse the repository at this point in the history
Minor fixups to CI and make it run PHPCS
  • Loading branch information
manicki authored Jun 23, 2017
2 parents 6498e61 + a3e652b commit 82a070e
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 82a070e

Please sign in to comment.