about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-12-06 19:42:30 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-12-06 11:42:30 +0100
commit4c1a02fa73cd527c1316faee12bbbf5ba2114655 (patch)
treed9ada50f8e073df31a5ec52d6a62f95d85c687a2
parentb21db9bbde3784556a5861e2cdec0c8c2184c72e (diff)
Yarn install from Debian package repository (#5899)
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 5c2c2c889..777ca581c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,11 +27,14 @@ addons:
   apt:
     sources:
     - trusty-media
+    - sourceline: deb https://dl.yarnpkg.com/debian/ stable main
+      key_url: https://dl.yarnpkg.com/debian/pubkey.gpg
     packages:
     - ffmpeg
+    - libicu-dev
     - libprotobuf-dev
     - protobuf-compiler
-    - libicu-dev
+    - yarn
 
 rvm:
   - 2.3.4
@@ -42,7 +45,6 @@ services:
 
 install:
   - nvm install
-  - npm install -g yarn
   - bundle install --path=vendor/bundle --without development production --retry=3 --jobs=16
   - yarn install