Trying to use HTTP based registry to avoid Travis cert issue

Project: http://git-wip-us.apache.org/repos/asf/metamodel-membrane/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/metamodel-membrane/commit/a8215c23
Tree: http://git-wip-us.apache.org/repos/asf/metamodel-membrane/tree/a8215c23
Diff: http://git-wip-us.apache.org/repos/asf/metamodel-membrane/diff/a8215c23

Branch: refs/heads/patch-1
Commit: a8215c236efe2a3517be813b85ce87deb5b99bb8
Parents: e37a8c0
Author: Kasper Sørensen <[email protected]>
Authored: Thu Nov 8 20:59:20 2018 -0800
Committer: Kasper Sørensen <[email protected]>
Committed: Thu Nov 8 20:59:20 2018 -0800

----------------------------------------------------------------------
 .travis.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/metamodel-membrane/blob/a8215c23/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 4788f7d..0dd02c6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,10 +7,9 @@ services:
 - docker
 
 before_install:
-- curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
 - sudo apt-get -qq update
-- sudo apt-get install -y nodejs
 - sudo apt-get install -y npm
+- sudo npm config set registry="http://registry.npmjs.org/";
 - sudo npm install [email protected] --global;
 
 script:

Reply via email to