Skip to content

Commit

Permalink
Switch to CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
timdp committed Oct 30, 2016
1 parent 6fd9c40 commit e3948a2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# iab-vast-parser

[![npm](https://img.shields.io/npm/v/iab-vast-parser.svg)](https://www.npmjs.com/package/iab-vast-parser) [![Dependencies](https://img.shields.io/david/zentrick/iab-vast-parser.svg)](https://david-dm.org/zentrick/iab-vast-parser) [![Build Status](https://img.shields.io/travis/zentrick/iab-vast-parser/master.svg)](https://travis-ci.org/zentrick/iab-vast-parser) [![Coverage Status](https://img.shields.io/coveralls/zentrick/iab-vast-parser/master.svg)](https://coveralls.io/r/zentrick/iab-vast-parser) [![JavaScript Standard Style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![npm](https://img.shields.io/npm/v/iab-vast-parser.svg)](https://www.npmjs.com/package/iab-vast-parser) [![Dependencies](https://img.shields.io/david/zentrick/iab-vast-parser.svg)](https://david-dm.org/zentrick/iab-vast-parser) [![Build Status](https://img.shields.io/circleci/project/github/zentrick/iab-vast-parser/master.svg)](https://circleci.com/gh/zentrick/iab-vast-parser) [![Coverage Status](https://img.shields.io/coveralls/zentrick/iab-vast-parser/master.svg)](https://coveralls.io/r/zentrick/iab-vast-parser) [![JavaScript Standard Style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

Parses IAB VAST tags into
[iab-vast-model](https://www.npmjs.com/package/iab-vast-model) objects.
Expand Down
8 changes: 8 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
machine:
environment:
npm_config_progress: false
test:
override:
- nvm use 0.12 && npm test
- nvm use 4 && npm test
- nvm use 6 && COVERALLS=1 npm test
7 changes: 5 additions & 2 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import path from 'path'
import marshal from './test/lib/marshal'

const COVERAGE_THRESHOLDS = { global: 80 }
const { COVERALLS } = process.env
const { CIRCLECI, CIRCLE_TEST_REPORTS, COVERALLS } = process.env

const $ = loadPlugins()
const argv = yargs
Expand All @@ -22,7 +22,10 @@ const argv = yargs

const runIntegrationTests = () => gulp.src(['test/lib/setup.js', 'test/integration/**/*.js'], { read: false })
.pipe($.mocha({
reporter: 'spec',
reporter: CIRCLECI ? 'mocha-junit-reporter' : 'spec',
reporterOptions: CIRCLECI ? {
mochaFile: `${CIRCLE_TEST_REPORTS}/junit/test-results.xml`
} : {},
grep: argv.grep,
bail: argv.bail
}))
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"in-publish": "^2.0.0",
"isparta": "^4.0.0",
"json-stable-stringify": "^1.0.1",
"mocha-junit-reporter": "^1.12.1",
"normalize-newline": "^2.0.0",
"run-sequence": "^1.1.5",
"yargs": "^5.0.0"
Expand Down

0 comments on commit e3948a2

Please sign in to comment.