Skip to content

Commit

Permalink
Merge pull request #2555 from simonbrunel/travis-dist
Browse files Browse the repository at this point in the history
Travis GitHub Releases
  • Loading branch information
etimberg authored Jun 28, 2016
2 parents 0dfb3bc + c631874 commit 9082507
Show file tree
Hide file tree
Showing 15 changed files with 97 additions and 24,601 deletions.
15 changes: 5 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
/coverage
/custom
/dist
/docs/index.md
/node_modules

.DS_Store

node_modules/*
custom/*

docs/index.md

bower_components/

coverage/*
.idea
nbproject/*
13 changes: 13 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/.git
/.github
/coverage
/custom
/dist/*.zip
/docs/index.md
/node_modules

.codeclimate.yml
.DS_Store
.gitignore
.idea
.travis.yml
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ before_script:
- npm install

script:
- gulp build
- gulp test
- gulp coverage
- gulp package
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls

notifications:
Expand All @@ -28,3 +30,25 @@ addons:
- google-chrome
packages:
- google-chrome-stable

deploy:
- provider: releases
api_key:
secure: E6JiZzA/Qy+UD1so/rVfqYnMhgU4m0cUsljxyrKIiYKlt/ZXo1XJabNkpEIYLvckrNx+g/4cmidNcuLfrnAZJtUg53qHLxyqMTXa9zAqmxxJ6aIpQpNK25FIEk9Xwm2XZdbI5rrm0ZciP5rcgg0X8/j5+RtnU3ZpTOCVkp0P73A=
file:
- "./dist/Chart.bundle.js"
- "./dist/Chart.bundle.min.js"
- "./dist/Chart.js"
- "./dist/Chart.min.js"
- "./dist/Chart.js.zip"
skip_cleanup: true
on:
tags: true
- provider: npm
email:
secure: f6jQXdqhoKtEZ3WBvnNM9PB2l9yg8SGmnUwQzeuLpW731opmv1ngPcMA+CotDAavIRs2BvAgVoLJOVGxMRXRSi5pgahfR0O2LetFoT/Px+q4MMqtn3zMgV/OuYL/fIyKXjyoYwSRfjuaIIGX7VTCOpqOEe29UQJAb7XcG9jhgIo=
api_key:
secure: O5lgPeX5ofkMSiUeijs+0hrK9Dejmpki/UABd+rgx3Cmjlxvi5DVugHpcn/6C0if0CoHv5/TqwQHVgL43kwR5ZKcspl7bzK2vD2YBpingF42Oz91YVNZwQIJyWNVSSWzzFYzG9xOXO26ZD1gTZ26Z3X+xfZVtugWkzbBa/c8NmQ=
skip_cleanup: true
on:
tags: true
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

## Installation

To download a zip, go to the Chart.js on Github
You can download the latest version of [Chart.js on GitHub](https://github.com/chartjs/Chart.js/releases/latest) or just use these [Chart.js CDN](https://cdnjs.com/libraries/Chart.js) links.

To install via npm / bower:
To install via npm:

```bash
npm install chart.js --save
bower install Chart.js --save
```
CDN: https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.1.6/Chart.min.js

To Install via bower, please follow [these instructions](http://www.chartjs.org/docs/#getting-started-installation).

## Documentation

Expand Down
14 changes: 0 additions & 14 deletions bower.json

This file was deleted.

Loading

0 comments on commit 9082507

Please sign in to comment.