We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d06002 commit 9835ce1Copy full SHA for 9835ce1
.travis.yml
@@ -2,15 +2,22 @@ language: node_js
2
3
node_js:
4
- 6
5
- - 4
6
7
before_install:
8
- - yarn global eslint
+ # Repo for newer Node.js versions
+ - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
9
+ # Repo for Yarn
10
+ - sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
11
+ - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
12
+ - sudo apt-get update -qq
13
+ - sudo apt-get install -y -qq yarn
14
+ - npm i -g eslint
15
16
install:
17
- yarn install --production
18
19
cache:
20
+ yarn: true
21
directories:
22
- node_modules
23
0 commit comments