Permalink
Browse files

remove coverage test temporarily

  • Loading branch information...
albertcht committed May 6, 2017
1 parent 2d538e5 commit fc1a81a2f74ee2a6f26248bdfb0d00c78eac3dda
Showing with 19 additions and 28 deletions.
  1. +1 −10 .travis.yml
  2. +18 −18 phpunit.xml
@@ -4,13 +4,6 @@ php:
- '7.0'
- '7.1'

env:
- SH=bash

before_install:
- sudo apt-get update -qq
- sudo apt-get install bc -y

install:
- travis_retry composer install --no-interaction --prefer-dist --no-suggest

@@ -19,6 +12,4 @@ before_script:
- travis_retry composer install --prefer-source --no-interaction --dev

script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- vendor/bin/phpcs --version && echo && vendor/bin/phpcs -p --standard=PSR2 src
- bash -c "[ $(echo "$(grep '^ Lines' builds/coverage.txt | awk '{print $2;}' | tr -d '%') >= 75" | bc) -eq "1" ]"
- vendor/bin/phpunit
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>

0 comments on commit fc1a81a

Please sign in to comment.