forked from lerna/lerna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (38 loc) · 862 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
# don't build tags, it's redundant
if: tag IS blank
git:
depth: 3
language: node_js
node_js:
- "11"
- "10"
- "8"
os:
- linux
- windows
env:
global:
- NO_UPDATE_NOTIFIER=1
- NODE_NO_WARNINGS=1
matrix:
fast_finish: true
allow_failures:
- node_js: "11"
exclude:
# only run windows CI on LTS (v10)
- node_js: "11"
os: windows
- node_js: "8"
os: windows
cache: npm
before_install:
- if [[ "$(npm -v)" != "$(npm v npm dist-tags.latest)" ]]; then npm i -g npm@latest; fi
# - set PATH=%APPDATA%\npm;"C:\Program Files\Git\mingw64\bin";%PATH%
install: npm ci
before_script:
- npm config set loglevel warn
- git config --global user.email [email protected]
- git config --global user.name "Tester McPerson"
- if [[ "$TRAVIS_OS_NAME" = "windows" ]]; then npm i -g yarn; fi
script:
- npm run ci