superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Using yarn instead of npm install (#3120)
Date Thu, 13 Jul 2017 22:16:45 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 76dda68  Using yarn instead of npm install (#3120)
76dda68 is described below

commit 76dda688b1ea6297dbb0549402b8d34726f58151
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Thu Jul 13 15:16:39 2017 -0700

    Using yarn instead of npm install (#3120)
---
 .travis.yml                 | 4 ++--
 superset/assets/js_build.sh | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index dcf700f..914c4b6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,7 @@ cache:
 env:
   global:
     - TRAVIS_CACHE=$HOME/.travis_cache/
-    - TRAVIS_NODE_VERSION="6.10.2"
+    - TRAVIS_NODE_VERSION="7.10.0"
   matrix:
     - TOX_ENV=javascript
     - TOX_ENV=pylint
@@ -19,7 +19,7 @@ env:
     - TOX_ENV=py27-mysql
     - TOX_ENV=py27-sqlite
 before_install:
-  - npm install -g npm@'>=4.5.0'
+  - npm install -g npm@'>=5.0.3'
 before_script:
   - mysql -e 'drop database if exists superset; create database superset DEFAULT CHARACTER
SET utf8 COLLATE utf8_unicode_ci' -u root
   - mysql -u root -e "CREATE USER 'mysqluser'@'localhost' IDENTIFIED BY 'mysqluserpassword';"
diff --git a/superset/assets/js_build.sh b/superset/assets/js_build.sh
index 3231d91..7e48caa 100755
--- a/superset/assets/js_build.sh
+++ b/superset/assets/js_build.sh
@@ -3,7 +3,8 @@ set -e
 cd "$(dirname "$0")"
 npm --version
 node --version
-npm install
+npm install -g yarn
+yarn
 npm run sync-backend
 npm run lint
 npm run test

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <commits@superset.apache.org>'].

Mime
View raw message