From 9f07beb2c820d19839c093325d61fa83a2fc36f1 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 4 Jun 2019 07:32:09 -0700 Subject: [PATCH] Update Travis CI to use Node 10 and update NPM on build --- .travis.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index be81abb..ed28e61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ dist: xenial language: node_js - - "node" - # ^ use latest version of NodeJS + # ^ We don't specify the NodeJS version here because + # it's difficult to know which number actually installs something rather + # than resulting in an erroneous build # Unless we specify "sudo: false", build runs in VM, not container @@ -15,7 +16,13 @@ branches: - latestRelease install: + - nvm install node + # ^ Use NVM to install latest node since Travis CI's docs aren't very' + # helpful as to how to do that + - npm i -g npm + # Also update NPM - npm i -g purescript@0.13.0 spago@0.8.3 parcel + # ^ Installing PureScript 0.13.0 hopefully now works # Print version numbers before_script: