File tree 1 file changed +10
-37
lines changed
1 file changed +10
-37
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
dist : bionic
3
3
4
- before_script :
5
- -
node packages/pg/script/create-test-tables.js pg://[email protected] :5432/postgres
4
+ before_script : |
5
+ sudo -u postgres sed -i \
6
+ -e '/^local/ s/trust$/peer/' \
7
+ -e '/^host/ s/trust$/scram-sha-256/' \
8
+ /etc/postgresql/10/main/pg_hba.conf
9
+ echo password_encryption = scram-sha-256 \
10
+ | sudo -u postgres tee -a /etc/postgresql/10/main/postgresql.conf
11
+ sudo -u postgres psql -c "SELECT pg_reload_conf(); ALTER ROLE postgres PASSWORD 'test-password'"
12
+ node packages/pg/script/create-test-tables.js postgresql:///
6
13
7
14
env :
8
- - CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres
15
+ - CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres PGPASSWORD=test-password
9
16
10
17
node_js :
11
- - lts/dubnium
12
- - lts/erbium
13
18
- 13
14
19
15
20
addons :
16
21
postgresql : " 10"
17
-
18
- matrix :
19
- include :
20
- - node_js : lts/erbium
21
- env : PGPASSWORD=test-password
22
- before_script : |
23
- psql -c "ALTER ROLE postgres PASSWORD 'test-password'"
24
-
25
- - node_js : lts/carbon
26
- addons :
27
- postgresql : " 9.5"
28
- dist : precise
29
-
30
- # different PostgreSQL versions on Node LTS
31
- - node_js : lts/erbium
32
- addons :
33
- postgresql : " 9.3"
34
- - node_js : lts/erbium
35
- addons :
36
- postgresql : " 9.4"
37
- - node_js : lts/erbium
38
- addons :
39
- postgresql : " 9.5"
40
- - node_js : lts/erbium
41
- addons :
42
- postgresql : " 9.6"
43
-
44
- # PostgreSQL 9.2 only works on precise
45
- - node_js : lts/carbon
46
- addons :
47
- postgresql : " 9.2"
48
- dist : precise
You can’t perform that action at this time.
0 commit comments