forked from ember-template-lint/ember-cli-template-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (47 loc) · 1.06 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
language: node_js
node_js:
- "12"
addons:
chrome: stable
cache:
yarn: true
branches:
only:
- master
# automated dependency updates
- /^dependabot/
# npm version tags
- /^v\d+\.\d+\.\d+/
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- yarn install
jobs:
fail_fast: true
include:
# runs tests in chrome with current locked deps and linting
- stage: tests
name: "Tests"
script:
- yarn lint:js
- yarn test:node
- yarn test
# If that passes:
# - run tests in other node versions
# - run tests without pinned dependencies to catch issues with new versions
- stage: additional tests
name: "Node 10 Tests"
node_js: 10
script:
- yarn test:node
- name: "Node 13 Tests"
node_js: 13
script:
- yarn test:node
- name: "Floating dependencies"
install: yarn install --no-lockfile --non-interactive
script:
- yarn test:node
- yarn test