You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2017/11/22 06:10:19 UTC
[incubator-superset] branch master updated: [travis] Standardizing
before_install (#3922)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 2851979 [travis] Standardizing before_install (#3922)
2851979 is described below
commit 285197926ecc6e75c0bbb884174b19a58721252e
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Tue Nov 21 22:10:17 2017 -0800
[travis] Standardizing before_install (#3922)
---
.travis.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 4641daa..d32057c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,11 +22,11 @@ env:
before_install:
- npm install -g npm@'>=5.4.1'
before_script:
- - mysql -e 'drop database if exists superset; create database superset DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci' -u root
+ - mysql -u root -e "DROP DATABASE IF EXISTS superset; CREATE DATABASE superset DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci"
- mysql -u root -e "CREATE USER 'mysqluser'@'localhost' IDENTIFIED BY 'mysqluserpassword';"
- mysql -u root -e "GRANT ALL ON superset.* TO 'mysqluser'@'localhost';"
- - psql -c 'create database superset;' -U postgres
- - psql -c "CREATE USER postgresuser WITH PASSWORD 'pguserpassword';" -U postgres
+ - psql -U postgres -c "CREATE DATABASE superset;"
+ - psql -U postgres -c "CREATE USER postgresuser WITH PASSWORD 'pguserpassword';"
- export PATH=${PATH}:/tmp/hive/bin
install:
- pip install --upgrade pip
--
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <co...@superset.apache.org>'].