[bugzilla-gnome-org-upstream/4.4] - Force use of PostgreSQL 9.1 - Configure DB users in travis.yml
- From: Andrea Veri <av src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-upstream/4.4] - Force use of PostgreSQL 9.1 - Configure DB users in travis.yml
- Date: Tue, 21 Apr 2015 12:45:39 +0000 (UTC)
commit c529e096ec9f0cf1798d50ca43ebe5d0966ee310
Author: David Lawrence <dkl mozilla com>
Date: Mon Feb 16 21:31:17 2015 -0500
- Force use of PostgreSQL 9.1
- Configure DB users in travis.yml
.travis.yml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/.travis.yml b/.travis.yml
index 94c9ce1..1bbf294 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,8 @@
language: perl
+
+addons:
+ postgresql: "9.1"
+
perl:
- 5.10
- 5.12
@@ -29,6 +33,10 @@ before_install:
install: true
+before_script:
+ - mysql -u root mysql -e "GRANT ALL PRIVILEGES ON *.* TO bugs localhost IDENTIFIED BY 'bugs'; FLUSH
PRIVILEGES;"
+ - psql -c "CREATE USER bugs WITH PASSWORD 'bugs' CREATEDB;" -U postgres
+
script: ./qa/travis.sh
after_failure:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]