Permalink
Browse files

Run tests on 5.6

  • Loading branch information...
REBELinBLUE committed Feb 18, 2017
1 parent 4e93c74 commit b3403537c0df6916d3be3e5af480f90d991f62cb
Showing with 7 additions and 4 deletions.
  1. +1 −1 .codecov.yml
  2. +3 −3 .travis.yml
  3. +3 −0 phpunit.xml.dist
View
@@ -11,7 +11,7 @@ coverage:
precision: 2
range:
- 50.0
- 75.0
- 80.0
round: down
status:
changes: false
View
@@ -41,7 +41,7 @@ before_install:
- nvm install stable
- nvm use stable
- |
if [[ "$TRAVIS_PHP_VERSION" != "7.0" ]]; then
if [[ "$TRAVIS_PHP_VERSION" != "5.6" ]]; then
phpenv config-rm xdebug.ini;
fi
@@ -77,7 +77,7 @@ script:
# - make phpmd
- |
if [[ "$TEST_SUITE" = "unit" ]]; then
if [[ "$TRAVIS_PHP_VERSION" = "7.0" ]]; then
if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then
echo -e "\033[32mUnit Tests with coverage\033[39m"
php vendor/bin/phpunit --coverage-clover coverage.xml --testsuite "Unit Tests"
else
@@ -86,7 +86,7 @@ script:
fi
- |
if [[ "$TEST_SUITE" = "integration" ]]; then
if [[ "$TRAVIS_PHP_VERSION" = "7.0" ]]; then
if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then
echo -e "\033[32mIntegration tests with coverage\033[39m"
php vendor/bin/phpunit --coverage-clover coverage.xml --testsuite "Integration Tests"
else
View
@@ -36,6 +36,9 @@
<directory>./vendor</directory>
</blacklist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" lowUpperBound="50" highLowerBound="80" />
</logging>
<!-- Some listeners which are useful in development but not on the CI, rename the tag to listeners to use -->
<useful-listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />

0 comments on commit b340353

Please sign in to comment.