浏览代码

travis trial

euromark 13 年之前
父节点
当前提交
bb37ac41cd
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      .travis.yml

+ 4 - 2
.travis.yml

@@ -11,7 +11,8 @@ env:
 before_script:
   - git clone --depth 1 git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp && git checkout $CAKE_VERSION
   - rm -R app
-  - git clone --depth 1 git://github.com/dereuromark/tools-app ../app && cd ../app && git checkout master
+  - git clone --depth 1 git://github.com/dereuromark/tools-app app && cd app && git checkout master
+  - cd ..
   - cp -R ../tools plugins/Tools
   - sh -c "if [ 'mysql' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi"
   - mkdir ./app/tmp
@@ -58,8 +59,9 @@ before_script:
       }
     }
     }" > app/Config/database.php
+  - cd app
 script:
-  - ./lib/Cake/Console/cake test Tools AllTools
+  - ../lib/Cake/Console/cake test Tools AllTools
 
 
 notifications: