forked from fabricjs/fabric.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (59 loc) · 1.3 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
60
61
62
63
64
65
66
67
language: node_js
services:
- docker
node_js:
- "6"
addons:
apt:
packages:
- libgif-dev
- libpng-dev
- libpango1.0-dev
# libcairo2-dev is preinstalled
stages:
- Linting and Building
- test
cache:
directories:
- node_modules
env:
global:
- LAUNCHER=Node
jobs:
include:
- stage: Linting and Building
env: STEP=LINT
install: npm install [email protected]
script: 'npm run lint && npm run lint_tests'
addons:
apt:
packages: # avoid installing packages
- stage: Linting and Building
env: STEP=BUILD
install: npm install [email protected]
script: 'npm run build'
addons:
apt:
packages: # avoid installing packages
- stage: test
env: LAUNCHER=Chrome
install: npm install [email protected] [email protected]
addons:
apt:
packages: # avoid installing packages
- stage: test
env: LAUNCHER=Firefox
install: npm install [email protected] [email protected]
addons:
apt:
packages: # avoid installing packages
- stage: test
node_js: "9"
- stage: test
node_js: "8"
- stage: test
node_js: "6"
- stage: test
node_js: "4"
script: 'npm run build:fast && testem ci --port 8080 -f testem.json -l $LAUNCHER'
dist: trusty