Skip to content

Commit 0e22f4b

Browse files
author
Ethan Cohen
committed
Update .travis.yml to use native support for yarn
1 parent 6f7dc93 commit 0e22f4b

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.travis.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
1-
before_install:
2-
# Repo for newer Node.js versions
3-
- curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
4-
# Repo for Yarn
5-
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
6-
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
7-
- sudo apt-get update -qq
8-
- sudo apt-get install -y -qq yarn
9-
cache:
10-
directories:
11-
- $HOME/.yarn-cache
12-
install: travis_wait yarn
131
language: node_js
142
node_js:
153
- 4
164
- 5
175
- 6
6+
cache:
7+
yarn: true
8+
directories:
9+
- node_modules
1810
after_success:
1911
- npm run coveralls

0 commit comments

Comments
 (0)