Skip to content

Commit

Permalink
Build: Improve AppVeyor & Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
sttk authored and phated committed Mar 13, 2019
1 parent 4ab4aed commit 9a8a136
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
sudo: false
language: node_js
node_js:
- "10"
- "8"
- "6"
- "4"
- "0.12"
- "0.10"
before_script:
- sed -i 's/4.0.0-alpha.1/4.0.0/g' node_modules/gulp/package.json
after_script:
- npm run coveralls
- npm run lint
- if [ $(echo "${TRAVIS_NODE_VERSION}" | cut -d'.' -f1) -ge 6 ]; then
npm run coveralls;
fi

git:
depth: 10
os:
- linux
- osx
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ environment:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "10"

install:
- npm install -g npm@^3
Expand Down

0 comments on commit 9a8a136

Please sign in to comment.