Skip to content

Commit

Permalink
DevKit updates (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Jan 23, 2019
1 parent b3d4805 commit 72d55a3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[*.{yml,twig,php}]
[*.{yaml,yml,twig,php}]
indent_size = 4

[*.{js,json,scss,css}]
Expand Down
4 changes: 2 additions & 2 deletions .travis/before_script_test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -ev

if [ -f before_script_test.local.sh ]
if [ -f .travis/before_script_test.local.sh ]
then
./before_script_test.local.sh
./.travis/before_script_test.local.sh
fi
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,14 @@ cs-fix-xml:
done
.PHONY: cs-fix-xml

test:
phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
build:
mkdir $@

build/xdebug-filter.php: phpunit.xml.dist build
phpunit --dump-xdebug-filter $@

test: build/xdebug-filter.php
phpunit --prepend build/xdebug-filter.php -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
.PHONY: test

docs:
Expand Down

0 comments on commit 72d55a3

Please sign in to comment.