Mercurial > p > roundup > code
diff .travis.yml @ 5642:bd681700e556
Move mysql grant after the manipulation on the db. This verifies the
db is up.
Re-enabled testing on other python versions.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 10 Mar 2019 12:18:11 -0400 |
| parents | 1601968f01a1 |
| children | 018bbad2a63e |
line wrap: on
line diff
--- a/.travis.yml Sun Mar 10 11:18:32 2019 -0400 +++ b/.travis.yml Sun Mar 10 12:18:11 2019 -0400 @@ -1,9 +1,9 @@ language: python python: - 2.7 -# - 3.4 -# - 3.5 -# - 3.6 + - 3.4 + - 3.5 + - 3.6 sudo: false @@ -70,11 +70,10 @@ before_script: # set up mysql database - - mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' - - cat /etc/mysql/my.cnf - sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf - cat /etc/mysql/my.cnf - sudo service mysql restart + - mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' # set up postgresql database - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
