浏览代码

simplify travis

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

+ 1 - 2
.travis.yml

@@ -11,8 +11,7 @@ env:
 before_script:
   - git clone --depth 1 --branch $CAKE_VERSION git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp
   - rm -R app
-  - git clone --depth 1 git://github.com/dereuromark/tools-app app && cd app && git checkout master
-  - cd ..
+  - git clone --depth 1 --branch master git://github.com/dereuromark/tools-app app
   - cp -R ../tools plugins/Tools
   - sh -c "mysql -e 'CREATE DATABASE cakephp_test;'"
   - mkdir ./app/tmp