Browse Source

coveralls

euromark 11 years ago
parent
commit
8bf4bc01c0
2 changed files with 5 additions and 6 deletions
  1. 1 1
      .travis.yml
  2. 4 5
      phpunit.xml.dist

+ 1 - 1
.travis.yml

@@ -31,7 +31,7 @@ matrix:
 
 before_script:
   - composer self-update
-  - composer install --prefer-source --no-interaction --dev
+  - composer install --prefer-dist --no-interaction --dev
 
   - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi"
   - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE DATABASE cakephp_test;' -U postgres; fi"

+ 4 - 5
phpunit.xml.dist

@@ -24,12 +24,11 @@
 		</listener>
 	</listeners>
 	<filter>
+		<whitelist>
+			<directory suffix=".php">./src</directory>
+		</whitelist>
 		<blacklist>
-			<directory suffix=".php">./vendor/</directory>
-			<directory suffix=".ctp">./vendor/</directory>
-
-			<directory suffix=".php">./tests/</directory>
-			<directory suffix=".ctp">./tests/</directory>
+			<directory suffix=".ctp">./src/Template</directory>
 		</blacklist>
 	</filter>
 </phpunit>