forked from yarnpkg/yarn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
53 lines (43 loc) · 728 Bytes
/
.travis.yml
File metadata and controls
53 lines (43 loc) · 728 Bytes
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
---
git:
depth: 10
language: generic
sudo: false
addons:
apt:
packages:
- git
branches:
only:
- master
- /^.*-stable$/
cache:
directories:
- node_modules
- lib
- lib-legacy
env:
matrix:
- TEST_TYPE="build-dist"
- TEST_TYPE="check-lockfile"
- TEST_TYPE="lint"
- NODE_VERSION="6" TEST_TYPE="test-ci"
- NODE_VERSION="4" TEST_TYPE="test-ci"
matrix:
exclude:
- env: TEST_TYPE="build-dist"
os: osx
- env: TEST_TYPE="check-lockfile"
os: osx
- env: TEST_TYPE="lint"
os: osx
install:
# install proper node version
- nvm install ${NODE_VERSION:=6}
- node --version
- npm install -g npm@3
- npm install
os:
- osx
- linux
script: npm run $TEST_TYPE