Skip to content

Commit 1786da5

Browse files
committed
teseting updates
1 parent 0ad8ec9 commit 1786da5

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.scrutinizer.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ build:
1313
dependencies:
1414
override:
1515
- composer self-update
16-
- composer update --with-dependencies -v -o
16+
- composer install --no-interaction --dev --prefer-dist --ansi
1717
tests:
1818
override:
1919
#- jshint-run $(ls public_html/js/*.js)
2020
#- shellcheck-run -s bash $(ls scripts/*/*.sh)
2121
#- csslint-run --exclude-list=public_html/css/domains.css,public_html/css/minified,public_html/css/reset.css,public_html/css/price_win.css public_html/css
2222
-
23-
command: 'vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v --coverage-clover coverage.xml --whitelist src/'
24-
#command: 'phpdbg -qrr vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v --coverage-clover coverage.xml --whitelist src/'
23+
command: 'vendor/bin/phpunit --bootstrap vendor/autoload.php tests/ -v --coverage-clover coverage.xml --whitelist src/'
24+
#command: 'phpdbg -qrr vendor/bin/phpunit --bootstrap vendor/autoload.php tests/ -v --coverage-clover coverage.xml --whitelist src/'
2525
coverage:
2626
file: 'coverage.xml'
2727
format: 'clover'

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
env:
22
global:
3-
- GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
3+
- GIT_COMMITTED_AT="$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)"
44
language: php
55
os: linux
66
dist: trusty
@@ -24,10 +24,10 @@ before_script:
2424
- phpenv config-rm xdebug.ini
2525
- phpenv rehash
2626
- travis_retry composer self-update
27-
- travis_retry composer update --with-dependencies --no-interaction --dev --prefer-dist
27+
- travis_retry composer install --no-interaction --dev --prefer-dist --ansi
2828
script:
29-
- if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then phpdbg -qrr vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v --coverage-clover coverage.xml --whitelist src/; fi;
30-
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v; fi
29+
- if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then phpdbg -qrr vendor/bin/phpunit --bootstrap vendor/autoload.php tests/ -v --coverage-clover coverage.xml --whitelist src/; fi;
30+
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then vendor/bin/phpunit --bootstrap vendor/autoload.php tests/ -v; fi
3131
after_success:
3232
- if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then travis_retry vendor/bin/test-reporter --coverage-report=coverage.xml; fi
3333
- if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then travis_retry bash <(curl -s https://codecov.io/bash); fi;

tests/bootstrap.php

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)