Skip to content

Commit

Permalink
update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiask88 committed Jun 14, 2019
1 parent 6959952 commit 6738c97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
dist: trusty
sudo: false

language: node_js

Expand All @@ -8,7 +7,6 @@ node_js:
- "10"
- "8"
- "6"
- "4"

os:
- linux
Expand Down
11 changes: 8 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ environment:
- nodejs_version: "10"
- nodejs_version: "8"
- nodejs_version: "6"
- nodejs_version: "4"

# Build on both platforms
platform:
Expand All @@ -17,8 +16,14 @@ platform:

# Install scripts. (runs after repo cloning)
install:
# Get the latest version of $env:nodejs_version
- ps: Install-Product node $env:nodejs_version $env:platform
# Select node version $env:nodejs_version
- ps: |
try {
Install-Product node $env:nodejs_version $env:platform
} catch {
echo "Unable to install node $env:nodejs_version, trying update..."
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
}
# Output useful info for debugging.
- node --version
- npm --version
Expand Down

0 comments on commit 6738c97

Please sign in to comment.