Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve browser testing #269

Merged
merged 5 commits into from
Mar 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ratings:
paths:
- "lib/*"
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ language: node_js
node_js:
- '0.10'
- '0.12'
- '4.0'
- '4.1'
- '4.4'
- 'stable'
script: npm run $COMMAND
sudo: false
env:
Expand Down
50 changes: 41 additions & 9 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,52 @@ module.exports = function(grunt) {
browserName: "iphone",
platform: "OS X 10.8",
version: "6"
}, {
browserName: "iphone",
platform: "OS X 10.10",
version: "9.2"
}, {
browserName: "android",
platform: "Linux",
version: "4.0"
}, {
browserName: "android",
platform: "Linux",
version: "4.4"
}, {
browserName: "android",
platform: "Linux",
version: "5.1"
}, {
browserName: "firefox",
platform: "XP"
platform: "Windows 10"
}, {
browserName: "chrome",
platform: "XP"
platform: "Windows 10"
}, {
browserName: "internet explorer",
platform: "WIN8",
version: "10"
platform: "XP",
version: "7"
}, {
browserName: "internet explorer",
platform: "VISTA",
version: "9"
platform: "Windows 7",
version: "8"
}, {
browserName: "internet explorer",
platform: "Windows 7",
version: "8"
version: "9"
}, {
browserName: "internet explorer",
platform: "XP",
version: "7"
platform: "Windows 8",
version: "10"
}, {
browserName: "internet explorer",
platform: "Windows 10",
version: "11"
}, {
browserName: "microsoftedge",
platform: "Windows 10",
version: "13.10586"
}, {
browserName: "opera",
platform: "Windows 2008",
Expand All @@ -38,6 +58,18 @@ module.exports = function(grunt) {
browserName: "safari",
platform: "OS X 10.8",
version: "6"
}, {
browserName: "safari",
platform: "OS X 10.9",
version: "7"
}, {
browserName: "safari",
platform: "OS X 10.10",
version: "8"
}, {
browserName: "safari",
platform: "OS X 10.11",
version: "9"
}];

var tags = [];
Expand Down
12 changes: 3 additions & 9 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
JSZip
JSZip [![Build Status](https://api.travis-ci.org/Stuk/jszip.svg?branch=master)](http://travis-ci.org/Stuk/jszip) [![Code Climate](https://codeclimate.com/github/Stuk/jszip/badges/gpa.svg)](https://codeclimate.com/github/Stuk/jszip)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting the images here break the title. Any reason to move the build status ?
Also, I wouldn't put the codeclimate badge: the final score makes little sense as it currently includes generated files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=====

[![Selenium Test Status](https://saucelabs.com/browser-matrix/jszip.svg)](https://saucelabs.com/u/jszip)

A library for creating, reading and editing .zip files with Javascript, with a
lovely and simple API.

Expand All @@ -26,14 +28,6 @@ images/
smile.gif
*/
```

Test status
-----------

[![Build Status](https://api.travis-ci.org/Stuk/jszip.svg?branch=master)](http://travis-ci.org/Stuk/jszip)

[![Selenium Test Status](https://saucelabs.com/browser-matrix/jszip.svg)](https://saucelabs.com/u/jszip)

License
-------

Expand Down