forked from lerna/lerna
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (30 loc) · 727 Bytes
/
Copy path.travis.yml
File metadata and controls
37 lines (30 loc) · 727 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
git:
depth: 1
sudo: false
language: node_js
node_js:
- '8'
- '6'
- '4'
env:
global:
- NO_UPDATE_NOTIFIER=1
matrix:
fast_finish: true
cache:
yarn: true
directories:
- node_modules
before_install:
- if [[ `node -v` == v4* ]]; then npm i -g npm@latest-3; fi
- if [[ `node -v` == v6* ]]; then npm i -g npm@latest-4; fi
- if [[ `node -v` == v8* ]]; then npm i -g npm@latest-5; fi
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install: yarn --frozen-lockfile
before_script:
- git config --global user.email test@example.com
- git config --global user.name "Tester McPerson"
script: yarn run ci
notifications:
slack: lernajs:qHyrojRoqBBu7OhDyX1OMiHQ