Skip to content

Commit 0298672

Browse files
committed
Update travis to use latest yarn
1 parent fe29775 commit 0298672

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.travis.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,25 @@ node_js:
88
- '6'
99
- '4'
1010

11-
script:
12-
- yarn lint
11+
before_install:
12+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.2.0
13+
- export PATH=$HOME/.yarn/bin:$PATH
14+
15+
before_script:
1316
- yarn build
14-
- yarn cover
17+
18+
script:
19+
- if [ -n "${LINT-}" ]; then yarn lint; fi
20+
- if [ -z "${SKIPTESTS-}" ]; then yarn cover; fi
1521

1622
after_script:
1723
- codeclimate-test-reporter < coverage/lcov.info
1824

25+
matrix:
26+
include:
27+
- node_js: "node"
28+
env: LINT=true SKIPTESTS=true
29+
1930
addons:
2031
code_climate:
2132
repo_token:

.yarnrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)