File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
- dist : trusty
2
+ dist : xenial
3
3
services :
4
4
- postgresql
5
5
- redis-server
6
6
- docker
7
7
addons :
8
- postgresql : ' 9.5 '
8
+ postgresql : ' 11 '
9
9
apt :
10
10
packages :
11
- - postgresql-9.5-postgis-2.3
11
+ - postgresql-11
12
+ - postgresql-11-postgis-2.5
13
+ - postgresql-11-postgis-2.5-scripts
12
14
branches :
13
15
only :
14
16
- master
@@ -23,6 +25,7 @@ stage: test
23
25
env :
24
26
global :
25
27
- COVERAGE_OPTION='./node_modules/.bin/nyc'
28
+ - PGPORT=5432
26
29
matrix :
27
30
- MONGODB_VERSION=4.0.4 MONGODB_TOPOLOGY=replicaset MONGODB_STORAGE_ENGINE=wiredTiger
28
31
- MONGODB_VERSION=3.6.9
@@ -36,6 +39,10 @@ before_install:
36
39
- nvm install $NODE_VERSION
37
40
- nvm use $NODE_VERSION
38
41
- npm install -g greenkeeper-lockfile@1
42
+ - sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/11/main/postgresql.conf
43
+ - sudo cp /etc/postgresql/{10,11}/main/pg_hba.conf
44
+ - sudo service postgresql stop
45
+ - sudo service postgresql start 11
39
46
before_script :
40
47
- node -e 'require("./lib/index.js")'
41
48
- psql -c 'create database parse_server_postgres_adapter_test_database;' -U postgres
You can’t perform that action at this time.
0 commit comments