-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
49 lines (41 loc) · 926 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
language: node_js
node_js:
- "10"
addons:
postgresql: "9.4"
apt:
packages:
- postgresql-server-dev-9.4
- postgresql-9.4-postgis-2.4
env:
TEST_DATABASE_URL: postgres://localhost:5432/travis
PGVERSION: 9.4
cache: yarn
install:
- yarn install
before_script:
- psql -c "ALTER USER travis WITH PASSWORD 'travis';"
script:
- yarn test
matrix:
include:
- addons:
apt:
packages:
- postgresql-10
- postgresql-client-10
- postgresql-server-dev-10
- postgresql-10-postgis-2.4
- postgresql-10-postgis-2.4-scripts
- postgis
postgresql: 10
env:
- PGPORT=5433
- TEST_DATABASE_URL=postgres://travis:travis@localhost:5433/travis
- PGVERSION=10
sudo: false
dist: trusty
- name: "Lint"
addons: skip
before_script: skip
script: yarn lint