mirror of
https://github.com/danbulant/pngjs
synced 2026-06-24 09:11:48 +00:00
tweaks to CI config
This commit is contained in:
parent
119d403098
commit
88869809e5
5 changed files with 10 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
language: node_js
|
||||
after_success: npm run coverage && cat ./coverage/lcov.info | coveralls
|
||||
after_success: ./coveralls.sh
|
||||
node_js:
|
||||
- "0.12"
|
||||
- "iojs"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ clone_depth: 10
|
|||
environment:
|
||||
matrix:
|
||||
- nodejs_version: 0.12
|
||||
- nodejs_version: 1.1
|
||||
- nodejs_version: 2.x
|
||||
|
||||
install:
|
||||
- ps: Install-Product node $env:nodejs_version
|
||||
|
|
|
|||
6
coveralls.sh
Normal file
6
coveralls.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -ev
|
||||
if [ "${TRAVIS_NODE_VERSION}" = "0.12" ]; then
|
||||
npm coverage
|
||||
npm run coveralls
|
||||
fi
|
||||
|
|
@ -34,6 +34,7 @@
|
|||
"scripts": {
|
||||
"coverage": "istanbul -- cover node_modules/tape/bin/tape test/*-spec.js nolarge",
|
||||
"coverage-report": "npm run coverage && istanbul report html",
|
||||
"coveralls": "cat ./coverage/lcov.info | coveralls",
|
||||
"test": "tape test/*-spec.js nolarge | tap-dot && node test/run-compare",
|
||||
"lint": "eslint lib"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ var fs = require('fs');
|
|||
var PNG = require('../lib/png').PNG;
|
||||
var test = require('tape');
|
||||
|
||||
console.dir(process.argv); // temp test to see why io.js is ignoring
|
||||
var noLargeOption = process.argv.indexOf("nolarge") >= 0;
|
||||
|
||||
fs.readdir(__dirname + '/in/', function (err, files) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue