aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 8c8093bf..7468b116 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,13 +5,14 @@ services:
5 - redis 5 - redis
6 6
7# faster builds on docker-container setup 7# faster builds on docker-container setup
8sudo: false 8sudo: required
9 9
10# used for HHVM 10# used for HHVM
11addons: 11addons:
12 apt: 12 apt:
13 packages: 13 packages:
14 - tidy 14 - tidy
15 postgresql: 9.5
15 16
16# cache vendor dirs 17# cache vendor dirs
17cache: 18cache:
@@ -59,6 +60,7 @@ before_script:
59 - if [[ ! $PHP = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi 60 - if [[ ! $PHP = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi
60 - composer self-update --no-progress 61 - composer self-update --no-progress
61 - if [[ $DB = pgsql ]]; then psql -c 'create database wallabag_test;' -U postgres; fi; 62 - if [[ $DB = pgsql ]]; then psql -c 'create database wallabag_test;' -U postgres; fi;
63 - if [[ $DB = pgsql ]]; then psql -U postgres wallabag_test -c 'create extension "uuid-ossp";'; fi;
62 64
63install: 65install:
64 - if [[ $ASSETS = build ]]; then source ~/.nvm/nvm.sh && nvm install 6.7; fi; 66 - if [[ $ASSETS = build ]]; then source ~/.nvm/nvm.sh && nvm install 6.7; fi;