MDL-54901 travis: ensure pg93 is available and https served
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 17 Apr 2017 16:26:36 +0000 (18:26 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 18 Apr 2017 00:12:53 +0000 (02:12 +0200)
.travis.yml

index 799bd5d..ff2b674 100644 (file)
@@ -16,6 +16,9 @@ php:
     - 7.1
     - 5.6
 
+addons:
+  postgresql: "9.3"
+
 services:
     - redis-server
 
@@ -114,7 +117,7 @@ before_script:
 
         # The wwwroot and dataroot.
         sed -i \
-          -e "s%http://example.com/moodle%http://localhost%" \
+          -e "s%http://example.com/moodle%https://localhost%" \
           -e "s%/home/example/moodledata%/home/travis/roots/base%" \
           config.php ;