forked from sourcegraph/javascript-typescript-langserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
46 lines (36 loc) · 636 Bytes
/
.travis.yml
File metadata and controls
46 lines (36 loc) · 636 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: node_js
env:
global:
- FORCE_COLOR=1
node_js:
- '8'
- '6'
cache:
directories:
- $HOME/.npm
before_install:
- npm install -g [email protected]
install:
- npm ci
script:
- npm run lint
- npm run build
- npm run cover
after_success:
- nyc report --reporter=json
- bash <(curl -s https://codecov.io/bash)
jobs:
include:
- stage: release
node_js: '8'
script:
- npm run build
- npm run semantic-release
after_success: skip
stages:
- test
- name: release
if: branch = master AND type = push AND fork = false
branches:
except:
- /^v\d+\.\d+\.\d+$/