Skip to content

Commit

Permalink
chore(build): Use semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
joscha committed Jan 29, 2016
1 parent 6183462 commit 5f955db
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
22 changes: 20 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,27 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- "4.2"
- "stable"
- '4'
- 'stable'
script:
- npm run lint
- npm test
- npm link --silent && npm link crawlkit-runner-accessibility-developer-tools --silent
- for f in examples/*.js; do echo "• running '$f'" && travis_retry node $f > /dev/null; done
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- 'export $(cat .to_export_back) &> /dev/null'
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[![David](https://img.shields.io/david/crawlkit/runner-accessibility-developer-tools.svg)]()
[![node](https://img.shields.io/node/v/crawlkit-runner-accessibility-developer-tools.svg)]()
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

This runner can be used with [CrawlKit](https://github.com/crawlkit/crawlkit) in order to audit a website with the [Google Chrome Accessibility Developer Tools](https://github.com/GoogleChrome/accessibility-developer-tools).

Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "crawlkit-runner-accessibility-developer-tools",
"version": "1.1.2",
"description": "A CrawlKit runner for running the Google Chrome a11y developer tools",
"main": "src/index.js",
"scripts": {
"test": "mocha",
"lint": "eslint .",
"tdd": "mocha --watch --reporter min"
"tdd": "mocha --watch --reporter min",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/crawlkit/runner-accessibility-developer-tools.git"
"url": "https://github.com/crawlkit/runner-accessibility-developer-tools.git"
},
"keywords": [
"crawlkit",
Expand Down Expand Up @@ -38,7 +38,8 @@
"eslint-config-airbnb": "^4.0.0",
"freeport": "^1.0.5",
"http-server": "^0.8.5",
"mocha": "^2.3.4"
"mocha": "^2.3.4",
"semantic-release": "^4.3.5"
},
"dependencies": {
"accessibility-developer-tools": "^2.10.0",
Expand All @@ -56,4 +57,4 @@
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}

0 comments on commit 5f955db

Please sign in to comment.