forked from cssnano/cssnano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (47 loc) · 949 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
49
50
51
52
53
54
55
56
57
sudo: false
git:
depth: 10
branches:
only:
- master
- next
language: node_js
cache:
yarn: true
directories:
- node_modules
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
matrix:
include:
- node_js: '10'
script: yarn pretest
env: JOB_PART=pretest
- node_js: '10'
script: yarn test-only:coverage
env: JOB_PART=coverage
- node_js: '8'
script: yarn test-only
env: JOB_PART=test-only 8
- node_js: '6'
script: yarn test-only
env: JOB_PART=test-only 6
- node_js: '4'
script: yarn test-only
env: JOB_PART=test-only 4
before_install:
- npm install -g npm@^5.0.0
- nvm --version
- node --version
- npm --version
- yarn --version
install:
- yarn install
after_success:
- if [ "$JOB_PART" = "coverage" ]; then cat ./coverage/lcov.info | ./node_modules/.bin/coveralls; fi