We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7284764 commit 3197496Copy full SHA for 3197496
1 file changed
.travis.yml
@@ -0,0 +1,43 @@
1
+language: node_js
2
+
3
+node_js:
4
+ - "8"
5
+ - "10"
6
7
+addons:
8
+ postgresql: "9.4"
9
+ apt:
10
+ packages:
11
+ - postgresql-server-dev-9.4
12
13
+env:
14
+ TEST_DATABASE_URL: postgres://localhost:5432/travis
15
+ PGVERSION: 9.4
16
17
+cache: yarn
18
19
+install:
20
+ - yarn
21
22
+before_script:
23
+ - psql -c "ALTER USER travis WITH PASSWORD 'travis';"
24
+ - sudo service postgresql restart
25
26
+script:
27
+ - scripts/test
28
29
+matrix:
30
+ include:
31
+ - addons:
32
33
34
+ - postgresql-10
35
+ - postgresql-client-10
36
+ - postgresql-server-dev-10
37
+ postgresql: 10
38
+ env:
39
+ - PGPORT=5433
40
+ - TEST_DATABASE_URL=postgres://travis:travis@localhost:5433/travis
41
+ - PGVERSION=10
42
+ sudo: false
43
+ dist: trusty
0 commit comments