diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
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 |
8 | sudo: false | 8 | sudo: required |
9 | 9 | ||
10 | # used for HHVM | 10 | # used for HHVM |
11 | addons: | 11 | addons: |
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 |
17 | cache: | 18 | cache: |
@@ -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 | ||
63 | install: | 65 | install: |
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; |