This repository has been archived by the owner on Mar 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Travis CI to use Node 10 and update NPM on build
- Loading branch information
1 parent
18d8e6b
commit 9f07beb
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 [email protected] [email protected] parcel | ||
# ^ Installing PureScript 0.13.0 hopefully now works | ||
|
||
# Print version numbers | ||
before_script: | ||
|