Browse Source

Closes #227: adds PyMySQL in install/requirements.txt

Adrien Panay 7 years ago
parent
commit
232cc8edb5
2 changed files with 1 additions and 1 deletions
  1. 0 1
      .travis.yml
  2. 1 0
      install/requirements.txt

+ 0 - 1
.travis.yml View File

@@ -29,7 +29,6 @@ before_script:
29 29
   - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE tracim_test;'; fi"
30 30
   - sh -c "if [ '$DB' = 'mysql' ]; then cd ${TRAVIS_BUILD_DIR}/tracim && sed -i \"s/\(sqlalchemy.url *= *\).*/\mysql+pymysql:\/\/root@localhost\/tracim_test/\" test.ini; fi"
31 31
   - sh -c "if [ '$DB' = 'mysql' ]; then cd ${TRAVIS_BUILD_DIR}/tracim && sed -i \"s/<replace_database_uri_here>/mysql+pymysql:\/\/root@localhost\/tracim_test/\" development.ini; fi"
32
-  - sh -c "if [ '$DB' = 'mysql' ]; then pip install PyMySQL; fi"
33 32
 
34 33
   - sh -c "if [ '$DB' = 'sqlite' ]; then cd ${TRAVIS_BUILD_DIR}/tracim && sed -i \"s/\(sqlalchemy.url *= *\).*/\sqlite:\/\/\/tracim_test.sqlite/\" test.ini; fi"
35 34
   - sh -c "if [ '$DB' = 'sqlite' ]; then cd ${TRAVIS_BUILD_DIR}/tracim && sed -i \"s/<replace_database_uri_here>/sqlite:\/\/\/tracim.sqlite/\" development.ini; fi"

+ 1 - 0
install/requirements.txt View File

@@ -66,3 +66,4 @@ redis==2.10.5
66 66
 typing==3.5.3.0
67 67
 rq==0.7.1
68 68
 click==6.7
69
+PyMySQL==0.7.11