forked from mainmatter/mainmatter.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (50 loc) · 1.01 KB
/
.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
50
51
52
53
54
55
56
57
58
59
---
language: node_js
node_js:
- "8"
sudo: false
dist: trusty
addons:
chrome: stable
cache:
yarn: true
branches:
only:
- master
env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- yarn install --non-interactive --pure-lockfile
jobs:
include:
- stage: test
name: Tests
script: yarn test
- stage: test
name: "Lint - TypeScript"
script: yarn lint:ts
- stage: test
name: "Lint - JavaScript"
script: yarn lint:js
- stage: test
name: "Lint - Handlebars"
script: yarn lint:hbs
- stage: test
name: "Lint - CSS"
script: yarn lint:css
- stage: test
name: "Lint - Markdown"
script: yarn lint:md
- stage: test
name: "Crawler"
script: yarn build && yarn crawl
- stage: test
name: "Percy"
script: yarn build && yarn percy
notifications:
email: false