forked from qunitjs/qunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 789 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
os: linux
language: node_js
node_js:
- "10"
- "8"
- "6"
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=coverage
script:
- npm run $NPM_SCRIPT
cache:
directories:
- $HOME/.npm
- $HOME/.cache
- node_modules
notifications:
irc:
channels:
- "chat.freenode.net#jquery-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"