Skip to content
Myr

Skip `install` for older versions of Node (#96)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Drop custom install * Skip install steps for older Node.js versions * Delete unnecessary script

authored by Hiro Asari · committed by Andrey Sitnik · parent c5ce713 · Browse files · 2 files+7 added−19 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+7 added−19 removed

  • tests:+0 added−15 removed
  • other:+7 added−4 removed

2 files+7 added−19 removed

deleted:test/ci-install-15 removed
1#!/bin/sh23node="$(node --version)"4npm="v6.0.0"5ci="v8.0.0"67if [ "$(printf '%s\n' "$ci" "$node" | sort -V | head -n1)" = "$ci" ]; then8 npm ci9else10 if [ "$(printf '%s\n' "$npm" "$node" | sort -V | head -n1)" = "$npm" ]; then11 npm install12 else13 echo "Skip dependencies on old Node.js version"14 fi15fi
modified:.travis.yml+7 added-4 removed