-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (30 loc) · 772 Bytes
/
.travis.yml
File metadata and controls
30 lines (30 loc) · 772 Bytes
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
language: node_js
sudo: false
script:
# lint errors fail the build
- npm run lint
# unit tests with coverage report
- npm run test:coverage
# Flow type check
- npx flow
node_js:
- "10"
- "9"
- "8"
cache:
directories:
- node_modules
deploy:
# keeps necessary babel dependency for npm prepare
skip_cleanup: true
provider: npm
# dist-tag install using: npm -i simperium@next
tag: next
email: [email protected]
api_key:
secure: N7HwM6lVVeG8dq0UT/U5njFVuW9O8xjpeXI9el6o2WpKPm3HdY1x5lx6PrbsFpY3l103vg135iA02tfkE7ct5sQcHtyYw6+UcrZ9Vr60lE9VS6HqODXSWt18ytSqmAlJGWlZ07kQediFv/Nyy6MiZERmn0Kgm2g3Lpcr7I25k9s=
on:
# builds all tagged commits using [email protected] environment
tags: true
repo: Simperium/node-simperium
node: "8"