Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade node and npm to workaround frequent ECONNRESET #488

Merged
merged 12 commits into from
Jun 2, 2017
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ addons:

before_install:
- firefox --version
# Get rid of nvm and thus node installed by travis, which is the incorrect version
- rm -rf ~/.nvm
- make deps
- make pythondeps
- python -c "import setuptools; print(setuptools.__version__)"
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ deps:
echo "ERROR: Cannot run on non-Linux systems"; \
false; \
fi
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
-sudo apt-get -qq update
if [ `lsb_release -rs` = "14.04" ]; then \
plat_packages="docker-engine python3.4-venv"; \
else \
plat_packages="docker.io python3-venv"; \
fi; \
sudo apt-get -qq install -o Dpkg::Options::="--force-confold" --force-yes -y $$plat_packages nodejs python3-pip
node --version
npm --version
npm install
`npm bin`/bower install

Expand Down