Skip to content

Commit

Permalink
Merge pull request #17 from stylelint/travis-tweaks
Browse files Browse the repository at this point in the history
Travis & AppVeyor CI performance tweaks
  • Loading branch information
jeddy3 committed Mar 27, 2016
2 parents f4b83a5 + 4cf67de commit 85e5e0d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
sudo: false

git:
depth: 1

branches:
only:
- master

language: node_js

# cache node modules
cache:
directories:
- node_modules

node_js:
- stable
- '5'

before_install:
# remove outdated deps, assists with cache maintenance
- npm prune
6 changes: 5 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ environment:
version: "{build}"
build: off
deploy: off

branches:
only:
- master
clone_depth: 1
skip_tags: true
install:
- ps: Install-Product node $env:nodejs_version
- npm install
Expand Down

0 comments on commit 85e5e0d

Please sign in to comment.