-
Notifications
You must be signed in to change notification settings - Fork 781
/
Copy path.travis.yml
39 lines (39 loc) · 905 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
os: linux
language: node_js
node_js:
- "14"
- "12"
- "10"
env:
- NPM_SCRIPT=test
matrix:
fast_finish: true
include:
- os: windows
# On Windows, test only the last LTS.
node_js: "10"
# On Windows, run test:main only instead of test.
# https://github.com/qunitjs/qunit/issues/1359
env: NPM_SCRIPT=test:main
- os: osx
# On Mac, test only the last LTS.
node_js: "10"
- os: linux
node_js: "10"
env: NPM_SCRIPT=coveralls
- stage: "Update search index"
# https://docs.travis-ci.com/user/conditions-v1
if: (branch = master) AND (type IN (push, cron))
language: ruby
rvm: 2.7
cache: bundler
before_install: cd docs/
install: bundle install
script: bundle exec jekyll algolia
script:
- npm run $NPM_SCRIPT
cache:
directories:
- $HOME/.npm
- $HOME/.cache
- node_modules