forked from sourcegraph/browser-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 768 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
node_js:
- '10'
env:
global:
- FORCE_COLOR=1
cache:
directories:
- ~/.npm
- ~/.cache
install:
- npm ci
jobs:
include:
- stage: test
env:
- CYPRESS_INSTALL_BINARY=0
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
script:
- npm run prettier
- npm run tslint
- npm run build
- stage: test
env:
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
script:
- npm run build
- npm run test:e2e
- stage: release
env:
- CYPRESS_INSTALL_BINARY=0
script: semantic-release
stages:
- test
- name: release
if: branch = release AND type = push AND fork = false
branches:
only:
- master
- release
- /renovate\/.+/