From d2de71d8ab3e3f18d1c7b052a3e25f6d1c04e936 Mon Sep 17 00:00:00 2001 From: astaxie Date: Fri, 8 Jan 2016 16:01:07 +0800 Subject: [PATCH] update the dependence --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5d9833ea..f87802e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,6 @@ env: - ORM_DRIVER=mysql - ORM_DRIVER=postgres before_script: - - sh -c "if [ '$DB' = 'postgres' ]; then export ORM_SOURCE='user=postgres dbname=orm_test sslmode=disable'; psql -c 'create database orm_test;' -U postgres; fi" - - sh -c "if [ '$DB' = 'mysql' ]; then export ORM_SOURCE='root:@/orm_test?charset=utf8'; mysql -u root -e 'create database orm_test;'; fi" - - sh -c "if [ '$DB' = 'sqlite' ]; then export ORM_SOURCE=$TRAVIS_BUILD_DIR/orm_test.db; touch $TRAVIS_BUILD_DIR/orm_test.db; fi" + - sh -c "if [ '$ORM_DRIVER' = 'postgres' ]; then export ORM_SOURCE='user=postgres dbname=orm_test sslmode=disable'; psql -c 'create database orm_test;' -U postgres; fi" + - sh -c "if [ '$ORM_DRIVER' = 'mysql' ]; then export ORM_SOURCE='root:@/orm_test?charset=utf8'; mysql -u root -e 'create database orm_test;'; fi" + - sh -c "if [ '$ORM_DRIVER' = 'sqlite' ]; then export ORM_SOURCE=$TRAVIS_BUILD_DIR/orm_test.db; touch $TRAVIS_BUILD_DIR/orm_test.db; fi"