Skip to content

Commit fdadb8f

Browse files
committed
.travis.initialize.db.sh needed for non mysql-5.6/5.7 too
1 parent 081f508 commit fdadb8f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ install:
5454
- pip install -U tox
5555

5656
before_script:
57-
- if [ ! -z "${DB}" ]; then
58-
./.travis.initialize.db.sh;
59-
fi
57+
- ./.travis.initialize.db.sh;
6058
- "mysql -e 'create database test_pymysql DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'"
6159
- "mysql -e 'create database test_pymysql2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'"
6260
- mysql -u root -e "create user travis_pymysql2 identified by 'some password'; grant all on test_pymysql2.* to travis_pymysql2;"

0 commit comments

Comments
 (0)