summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2018-10-30 11:39:54 +0000
committerStephen Finucane <stephen@that.guru>2018-10-30 15:32:48 +0000
commitf3da5b4d27123014ea2bf13bedd9ff41bdd7417b (patch)
tree63699d81fc0ff65c30f8c628960a9be4cbb092fe
parent4294e1de256d7a41ff1f65ad415ee32aae6c3704 (diff)
downloadpatchwork-f3da5b4d27123014ea2bf13bedd9ff41bdd7417b.tar
patchwork-f3da5b4d27123014ea2bf13bedd9ff41bdd7417b.tar.gz
travis: Use consistent quote style
It's the little things in life. Signed-off-by: Stephen Finucane <stephen@that.guru>
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 6435545..95cd6bc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,7 @@ python:
- 3.6
addons:
- postgresql: "9.6"
+ postgresql: 9.6
services:
- mysql
@@ -27,12 +27,12 @@ env:
matrix:
include:
- addons:
- mariadb: '10.3'
+ mariadb: 10.3
env:
- PW_TEST_DB_TYPE=mysql
- PW_TEST_DB_USER=root
- addons:
- postgresql: "10"
+ postgresql: 10
apt:
packages:
- postgresql-10
@@ -49,7 +49,7 @@ matrix:
- sudo -u postgres psql -c "grant ALL on DATABASE postgres to travis WITH GRANT OPTION;"
before_script:
- - if [[ $PW_TEST_DB_TYPE == mysql ]]; then mysql -e 'create database patchwork character set utf8;'; fi
+ - if [[ $PW_TEST_DB_TYPE == mysql ]]; then mysql -e "create database patchwork character set utf8;"; fi
- if [[ $PW_TEST_DB_TYPE == postgres ]]; then psql -c "create database patchwork with ENCODING = 'UTF8';" -U $PW_TEST_DB_USER; fi
install:
@@ -59,7 +59,7 @@ script:
- >
if [[ $PW_TEST_DB_TYPE == mysql ]];
then
- mysql -e 'SELECT VERSION(), CURRENT_USER();' -u $PW_TEST_DB_USER patchwork;
+ mysql -e "SELECT VERSION(), CURRENT_USER();" -u $PW_TEST_DB_USER patchwork;
else
psql -c "SELECT VERSION(), CURRENT_USER, current_database()" -U $PW_TEST_DB_USER patchwork;
fi