forked from felixfbecker/iterare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (40 loc) · 788 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
language: node_js
env:
global:
- FORCE_COLOR=1
node_js:
- '6'
- '8'
cache:
directories:
- ~/.npm
before_install:
- npm install -g npm@5
script:
- npm run prettier -- --write=false
- npm run tslint
- npm run build
- npm run test
- bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json
jobs:
include:
- stage: release
node_js: '8'
script:
- npm run build
- npm run semantic-release
before_deploy:
- npm run typedoc
deploy:
provider: surge
project: ./typedoc/
domain: iterare.surge.sh
skip_cleanup: true
stages:
- test
- name: release
if: branch = master AND type = push AND fork = false
branches:
only:
- master
- /^greenkeeper.*$/