浏览代码

travis branch

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

+ 1 - 1
.travis.yml

@@ -9,7 +9,7 @@ env:
   - CAKE_VERSION=2.4
 
 before_script:
-  - git clone --depth 1 git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp && git checkout $CAKE_VERSION
+  - 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 ..