Skip to content

Commit c90a574

Browse files
authored
[ci] - Use yarn in travis build. (#121)
1 parent 602664e commit c90a574

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
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
113
language: node_js
214
node_js:
315
- 4

0 commit comments

Comments
 (0)