Skip to content

Commit

Permalink
Testing improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Jul 28, 2014
1 parent c48f305 commit 33e688e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm

matrix:
allow_failures:
- php: hhvm

before_script:
- composer self-update
- composer install --dev
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev

script: make sniff test
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
vendor/autoload.php:
composer install
composer install --no-interaction --prefer-source --dev

.PHONY: sniff
sniff: vendor/autoload.php
vendor/bin/phpcs --standard=PSR2 src -n

.PHONY: test
test: vendor/autoload.php
vendor/bin/phpunit
vendor/bin/phpunit --verbose

0 comments on commit 33e688e

Please sign in to comment.