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

+ 1 - 2
.travis.yml

@@ -5,7 +5,6 @@ php:
   - 5.4
   - 5.4
 
 
 env:
 env:
-  - DB=mysql
   - CAKE_VERSION=master
   - CAKE_VERSION=master
   - CAKE_VERSION=2.4
   - CAKE_VERSION=2.4
 
 
@@ -14,7 +13,7 @@ before_script:
   - rm -R app
   - 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
   - cp -R ../Tools plugins/Tools
   - cp -R ../Tools plugins/Tools
-  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi"
+  - sh -c "if [ 'mysql' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi"
   - mkdir ./app/tmp
   - mkdir ./app/tmp
   - chmod -R 777 ./app/tmp
   - chmod -R 777 ./app/tmp
   - echo "<?php
   - echo "<?php