euromark 11 年 前
コミット
8bf4bc01c0
2 ファイル変更5 行追加6 行削除
  1. 1 1
      .travis.yml
  2. 4 5
      phpunit.xml.dist

+ 1 - 1
.travis.yml

@@ -31,7 +31,7 @@ matrix:
 
 
 before_script:
 before_script:
   - composer self-update
   - 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' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi"
   - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE DATABASE cakephp_test;' -U postgres; 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>
 		</listener>
 	</listeners>
 	</listeners>
 	<filter>
 	<filter>
+		<whitelist>
+			<directory suffix=".php">./src</directory>
+		</whitelist>
 		<blacklist>
 		<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>
 		</blacklist>
 	</filter>
 	</filter>
 </phpunit>
 </phpunit>