Skip to content

Commit 21d8fde

Browse files
committed
Improve speed of tests
1 parent 4daf6b8 commit 21d8fde

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@
55
/.gitignore export-ignore
66
/.scrutinizer.yml export-ignore
77
/.travis.yml export-ignore
8+
/build
9+
/composer.lock
810
/phpunit.xml export-ignore
911
/tests export-ignore
12+
/vendor

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ before_script:
2424
- chmod +x *.sh
2525

2626
script:
27-
- ./pu-${PU_FILE}.sh
27+
- ./tests/pu-${PU_FILE}.sh
2828

2929
after_success:
3030
- travis_retry php vendor/bin/php-coveralls -v

pu-54.sh renamed to tests/pu-54.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ rm composer.json
1919
mv original-composer.json composer.json
2020

2121
mkdir -p ./build/logs
22-
vendor/bin/phpunit --configuration phpunit-54.xml --coverage-text --coverage-clover ./build/logs/clover.xml
22+
php -n vendor/bin/phpunit --configuration phpunit-54.xml --coverage-text --coverage-clover ./build/logs/clover.xml
2323
rm phpunit-54.xml

pu-55.sh renamed to tests/pu-55.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ rm composer.json
1919
mv original-composer.json composer.json
2020

2121
mkdir -p ./build/logs
22-
vendor/bin/phpunit --configuration phpunit-55.xml --coverage-text --coverage-clover ./build/logs/clover.xml
22+
php -n vendor/bin/phpunit --configuration phpunit-55.xml --coverage-text --coverage-clover ./build/logs/clover.xml
2323
rm phpunit-55.xml

pu-56.sh renamed to tests/pu-56.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ rm composer.json
1818
mv original-composer.json composer.json
1919

2020
mkdir -p ./build/logs
21-
vendor/bin/phpunit --configuration phpunit.xml --coverage-text --coverage-clover ./build/logs/clover.xml
21+
php -n vendor/bin/phpunit --configuration phpunit.xml --coverage-text --coverage-clover ./build/logs/clover.xml

0 commit comments

Comments
 (0)