Skip to content

Commit

Permalink
chore: Streamline travis & appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Nov 22, 2021
1 parent d39208c commit c4971b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
language: node_js
os:
- linux
- osx
node_js:
- "6"
- "5"
Expand All @@ -10,8 +7,6 @@ node_js:
- "0.10"
matrix:
fast_finish: true
allow_failures:
- node_js: "0.10"
script: if [ $(echo "${TRAVIS_NODE_VERSION}" | cut -d'.' -f1) -ge 4 ]; then
npm run cover;
else
Expand Down
9 changes: 3 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,20 @@ environment:
- nodejs_version: "0.10"
- nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "5"
- nodejs_version: "6"
- nodejs_version: "8"

install:
- IF %nodejs_version% EQU 0.10 npm -g install npm@2
- IF %nodejs_version% EQU 0.10 set PATH=%APPDATA%\npm;%PATH%
- npm install -g npm@^3
- ps: Install-Product node $env:nodejs_version
- npm install

test_script:
- node --version
- npm --version
# power shell
- ps: "npm test"
# standard command line
- cmd: npm test

build: off

# build version format
version: "{build}"

0 comments on commit c4971b1

Please sign in to comment.