You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by bi...@apache.org on 2018/06/19 19:13:53 UTC

[incubator-annotator] 02/03: Install latest stable of yarn

This is an automated email from the ASF dual-hosted git repository.

bigbluehat pushed a commit to branch travis-ci
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 96b47faeaf558baf1573723cef67df2afe79d08e
Author: Benjamin Young <by...@wiley.com>
AuthorDate: Tue Jun 19 15:08:00 2018 -0400

    Install latest stable of yarn
    
    Travis is a bit behind atm (1.3.2 O.o)
---
 .travis.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 49ab13c..e7f0738 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,3 +2,9 @@ language: node_js
 node_js:
   - "6"
   - "8"
+
+# Travis is pretty behind the curve on their Yarn support...
+# https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#Using-a-specific-yarn-version
+before_install:
+  - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.7.0
+  - export PATH="$HOME/.yarn/bin:$PATH"