Skip to content

Commit 04c28f2

Browse files
committed
Cleanup travis config
* reorder items * activate --frozen-lockfile yarn option
1 parent a7c0824 commit 04c28f2

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

.travis.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,22 @@ language: node_js
33
node_js:
44
- "8"
55

6-
sudo: false
7-
dist: trusty
8-
9-
cache:
10-
yarn: true
11-
126
branches:
137
only:
148
- master
159
# npm version tags
1610
- /^v\d+\.\d+\.\d+/
1711

12+
cache:
13+
yarn: true
14+
15+
before_install:
16+
- curl -o- -L https://yarnpkg.com/install.sh | bash
17+
- export PATH=$HOME/.yarn/bin:$PATH
18+
19+
install:
20+
- yarn install --frozen-lockfile --non-interactive
21+
1822
env:
1923
global:
2024
# See https://git.io/vdao3 for details.
@@ -27,14 +31,8 @@ jobs:
2731
# runs linting and tests with current locked deps
2832

2933
- stage: "Tests"
30-
name: "Tests"
31-
install:
32-
- yarn install --non-interactive
34+
name: "ember-template-lint 1.6.1"
3335
script:
3436
- yarn lint:js
3537
- yarn lint:md
3638
- yarn test
37-
38-
before_install:
39-
- curl -o- -L https://yarnpkg.com/install.sh | bash
40-
- export PATH=$HOME/.yarn/bin:$PATH

0 commit comments

Comments
 (0)