forked from jashkenas/underscore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 1.3 KB
/
.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
language: node_js
sudo: false
jobs:
include:
- node_js: 8
env:
- DOWNGRADE=true
- EXTRA=false
- node_js: 12
env:
- DOWNGRADE=false
- EXTRA=false
- node_js: 16
env:
- DOWNGRADE=false
- EXTRA=true
before_install:
- "[ $EXTRA = false ] || npm install -g karma-cli"
before_script:
- "[ $EXTRA = false ] || npm install karma-sauce-launcher"
- "[ $DOWNGRADE = false ] || npm install rollup@1"
script:
- "[ $EXTRA = false ] || npm run lint"
- npm run prepare-tests
- "[ $EXTRA = false ] || npm run build-umd"
- "[ $EXTRA = false ] || npm run build-esm"
- "[ $EXTRA = false ] || npm run doc"
- "[ $EXTRA = true ] || npm run test-node"
- "[ $EXTRA = false ] || npm run coveralls"
- "[ $EXTRA = false ] || npm run test-browser"
- "[ $EXTRA = false ] || karma start karma.conf-sauce.js"
notifications:
email: false
env:
global:
- NPM_CONFIG_PROGRESS="false"
- secure: bDZSBQfqr21hCayjcZ20IxrV6+XGhxQPFIfwWqEKLrF93Gu8LLVjZRxXE/mE8I8N4Z5WtDNb4ZHrm/TTzmcPa5MuHgIxEdknQCncobH8oimwc83SHwEPk6okeNKl39VlCjvvnmoe/V/KpnknuYn3Rqghtl/Uv9KLpCwskwjTtcw=
- secure: SRECgXuwcZTcD3GVxTS2bYNgRyye4vq6BLrV2PH9FyNenowsKQR2EwlC/dppc1Q8NWMgv79J/R96q9JOFh+mEH9L5dlBb2yhnGH8amVeM/ChAJHT/F8YktKM453uVpz5fR00QcCQDDUOx6Pvx374ID0OKNpWKAkQBWA9mPTsLnE=