Permalink
Browse files

Update CI configs from the latest grunt-contrib-internal.

  • Loading branch information...
1 parent f6028fd commit 4f9045fa4b20e19c5f07ac53cace6d1048b0350d @XhmikosR XhmikosR committed Apr 7, 2016
Showing with 28 additions and 13 deletions.
  1. +4 −3 .travis.yml
  2. +24 −10 appveyor.yml
View
@@ -7,8 +7,9 @@ node_js:
- "5"
- "iojs"
before_install:
- - npm install -g npm
-before_script:
- - npm install -g grunt-cli
+ - if [ "$TRAVIS_NODE_VERSION" = "0.10" ]; then npm install -g npm@2; fi
matrix:
fast_finish: true
+cache:
+ directories:
+ - node_modules
View
@@ -1,30 +1,44 @@
-# Fix line endings on Windows
-init:
- - git config --global core.autocrlf true
+# http://www.appveyor.com/docs/appveyor-yml
+
+clone_depth: 10
+
+version: "{build}"
+
# What combinations to test
environment:
matrix:
- nodejs_version: "0.10"
+ platform: x86
- nodejs_version: "0.12"
+ platform: x86
- nodejs_version: "4"
+ platform: x64
+ - nodejs_version: "4"
+ platform: x86
- nodejs_version: "5"
-platform:
- - x86
- - x64
+ platform: x86
+
install:
- - ps: Install-Product node $env:nodejs_version
- - npm install -g npm
- - npm install -g grunt-cli
+ - ps: Install-Product node $env:nodejs_version $env:platform
+ - ps: >-
+ if ($env:nodejs_version -eq "0.10") {
+ npm -g install npm@2
+ $env:PATH="$env:APPDATA\npm;$env:PATH"
+ }
- npm install
+
test_script:
- # Output useful info for debugging.
+ # Output useful info for debugging
- node --version && npm --version
# We test multiple Windows shells because of prior stdout buffering issues
# filed against Grunt. https://github.com/joyent/node/issues/3584
- ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
- cmd: npm test
+
build: off
+
matrix:
fast_finish: true
+
cache:
- node_modules -> package.json

0 comments on commit 4f9045f

Please sign in to comment.