1 | sudo: required
|
2 | dist: trusty
|
3 | os:
|
4 | - linux
|
5 | - osx
|
6 | cache:
|
7 | directories:
|
8 | - node_modules
|
9 | notifications:
|
10 | email: false
|
11 | language: node_js
|
12 | node_js:
|
13 | - 7
|
14 | - 6
|
15 | - 4
|
16 | install:
|
17 | - npm install
|
18 | branches:
|
19 | only:
|
20 | - master
|
21 | before_script:
|
22 | - npm prune
|
23 | script:
|
24 | - npm run build
|