浏览代码

Update .travis.yml

Mark Scherer 10 年之前
父节点
当前提交
8b1680f82c
共有 2 个文件被更改,包括 4 次插入12 次删除
  1. 4 2
      .travis.yml
  2. 0 10
      phpunit.xml

+ 4 - 2
.travis.yml

@@ -1,5 +1,7 @@
 language: php
 
+sudo: false
+
 php:
   - 5.4
   - 5.5
@@ -18,10 +20,10 @@ matrix:
   include:
     - php: 5.4
       env:
-        - DB=mysql CAKE_VERSION=2.7 COVERALLS=1
+        - DB=mysql CAKE_VERSION=2.7 CODECOVERAGE=1
 
 before_script:
-  - git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
+  - git clone -b master-codecov https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
   - ../travis/before_script.sh
   - cd ../cakephp/app
   - echo "Configure::write('Security.salt', 'AxcG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');" >> Config/bootstrap.php

+ 0 - 10
phpunit.xml

@@ -1,15 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <phpunit>
 	<filter>
-		<whitelist>
-			<directory suffix=".php">./Plugin/Tools</directory>
-			<exclude>
-				<directory suffix=".php">./Plugin/Tools/Vendor</directory>
-				<directory suffix=".php">./Plugin/Tools/Config/Schema</directory>
-				<directory suffix=".php">./Plugin/Tools/Test</directory>
-				<directory suffix=".php">./Plugin/Tools/TestSuite</directory>
-				<directory suffix=".php">./Plugin/Tools/Lib/Error</directory>
-			</exclude>
-		</whitelist>
 	</filter>
 </phpunit>