Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chemzqm/component-testling-ci-example
component-testling-ci-example
https://github.com/chemzqm/component-testling-ci-example
Last synced: about 1 month ago
JSON representation
component-testling-ci-example
- Host: GitHub
- URL: https://github.com/chemzqm/component-testling-ci-example
- Owner: chemzqm
- Created: 2014-05-05T03:56:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-05T04:22:45.000Z (over 10 years ago)
- Last Synced: 2024-10-29T12:33:16.050Z (about 2 months ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# component-testling-ci-example
[![browser support](https://ci.testling.com/chemzqm/component-testling-ci-example.png)](https://ci.testling.com/chemzqm/component-testling-ci-example)
## Step 1
Make a package.json like so:
```json
{
"name": "component-testling-ci-example",
"description": "component testling ci example",
"devDependencies": {
"mocha": "*",
"component": "*"
},
"testling": {
"harness": "mocha",
"browsers": [
"ie/6..latest",
"chrome/22..latest",
"firefox/16..latest",
"safari/latest",
"opera/11.0..latest",
"iphone/6",
"ipad/6",
"android-browser/latest"
],
"preprocess": "make build",
"scripts": ["build/*.js", "test/*.js"]
}
}
```You don't have to use mocha but it seems the most common harness.
## Step 2
Add `http://git.testling.com` to your projects' webhooks (`Settings` -> `Webhooks and Services`)
## Step 3
Add a badge to your Readme.md:
```
[![browser support](https://ci.testling.com//.png)](https://ci.testling.com//)
```## Step 4
Type `make build` and commit your `build/build.js`
*Step 4 is temporary step until substack supports scripts built from preprocess*
## Step 5
Push to Github, check out your test run at:
`https://ci.testling.com//`