Skip to content

Commit 7f74239

Browse files
committed
[wip] speed up CI time, and restart the build because it seems like it’s not re-parsing .travis.yml
1 parent 10bba0b commit 7f74239

File tree

1 file changed

+0
-57
lines changed

1 file changed

+0
-57
lines changed

.travis.yml

-57
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,11 @@
11
language: node_js
22
dist: bionic
33

4-
before_script: |
5-
yarn build
6-
node packages/pg/script/create-test-tables.js postgresql:///
7-
8-
env:
9-
- CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres
10-
11-
node_js:
12-
- lts/dubnium
13-
- lts/erbium
14-
# node 13.7 seems to have changed behavior of async iterators exiting early on streams
15-
# if 13.8 still has this problem when it comes down I'll talk to the node team about the change
16-
# in the mean time...peg to 13.6
17-
- 13.6
18-
- 14
19-
204
addons:
215
postgresql: '10'
226

237
matrix:
248
include:
25-
# Run tests/paths that require password authentication
26-
- node_js: lts/erbium
27-
env:
28-
- CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres PGPASSWORD=test-password SCRAM_TEST_PGUSER=scram_test SCRAM_TEST_PGPASSWORD=test4scram
29-
before_script: |
30-
sudo -u postgres sed -i \
31-
-e '/^local/ s/trust$/peer/' \
32-
-e '/^host/ s/trust$/md5/' \
33-
/etc/postgresql/10/main/pg_hba.conf
34-
sudo -u postgres psql -c "ALTER ROLE postgres PASSWORD 'test-password'; SELECT pg_reload_conf()"
35-
yarn build
36-
node packages/pg/script/create-test-tables.js postgresql:///
37-
sudo -u postgres -- psql \
38-
-c "SET password_encryption = 'scram-sha-256'" \
39-
-c "CREATE ROLE scram_test login password 'test4scram'"
40-
419
# Run tests/paths with client certificate authentication
4210
- node_js: lts/*
4311
env:
@@ -60,28 +28,3 @@ matrix:
6028
make -C packages/pg/test/tls install DESTDIR=/etc/postgresql/10/main
6129
6230
systemctl restart postgresql
63-
64-
- node_js: lts/carbon
65-
addons:
66-
postgresql: '9.5'
67-
dist: precise
68-
69-
# different PostgreSQL versions on Node LTS
70-
- node_js: lts/erbium
71-
addons:
72-
postgresql: '9.3'
73-
- node_js: lts/erbium
74-
addons:
75-
postgresql: '9.4'
76-
- node_js: lts/erbium
77-
addons:
78-
postgresql: '9.5'
79-
- node_js: lts/erbium
80-
addons:
81-
postgresql: '9.6'
82-
83-
# PostgreSQL 9.2 only works on precise
84-
- node_js: lts/carbon
85-
addons:
86-
postgresql: '9.2'
87-
dist: precise

0 commit comments

Comments
 (0)