Skip to content

Commit

Permalink
Travis GitHub Releases (#2552)
Browse files Browse the repository at this point in the history
* Make Travis to deploy built files for tags

See https://docs.travis-ci.com/user/deployment/releases

* Remove and ignore dist/* files

Travis now builds and deploys these files for all tags, so we don't need to have them on the repository anymore.

* Add download links to the latest version

Remove outdated *standard build* and *bundled with Moment.js* links from the documentation and add a link to the latest GitHub release, from where the user can download `*.js` files.
  • Loading branch information
simonbrunel authored and etimberg committed May 14, 2016
1 parent b64e03d commit 4e9e26c
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 23,691 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

node_modules/*
custom/*
dist/*

docs/index.md

Expand Down
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ before_script:
- npm install

script:
- gulp build
- gulp test
- gulp coverage
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
Expand All @@ -28,3 +29,16 @@ addons:
- google-chrome
packages:
- google-chrome-stable

deploy:
provider: releases
api_key:
secure: SKVoNcAa9gMkpWQON5zlQ9PaPUxfIRAa9GsEho1gortNkPR8CyniXP0YLhvSrBkt/d+YQ/JuONcQQ+FmD28x6Gb8BIZ5dndsM1jXdaW8KhAF5/U18YsNKWx/GjrTr2fyu9lTfDuTr13IR2qFEi0mUu4ZC+gk53g3vM/04up0rNG3zTyRamGNSKXHN2lQAU7+LhFl86ziMQLx897ZyT6jr6U1xTwUXrEvWB6zWjLf6kkVT0JCevjtMzm5LJXt6u2C5UBuuRCiqnuNbLOlSDmb+sI02U6mzeNz24rTjz6+i2rB98leiM0gqm1+rJzrmh3hlS0kQrdp/JUUBTCI8D5KAO3ZbiWk0dQAh1hpc5Afm7R+m9swhG6+EYTWtM+Fej3YGbWLLmCU2gTKj+3aZDjGSo/bwvFyGHF+kuTzbnFLEC6EjMzH6uhtQEw/ny9bm69i2O3c2D/8Oj6lGt4AJQLYCSsvy9RDk+1dqZk5ATTppxKPgcq+HUk/TOKC3BpgkVIbj9xGEqYkz6KXzh4drkL2yE6d/cheutRdlyEkQ3DWlv0c3pIZksRb5SGD/Vvt3JhNOaeBeQJVwiPCxt4U9r4zqVVgUbvWNRTJAeA/LtWhcZXtgYkj4EXJDmeoQ6nqOGZAQkTKpmHR2b0cnwa+AW+0jLz0PHPRMWU6UT0RKZ5cfZ0=
file:
- "./dist/Chart.bundle.js"
- "./dist/Chart.bundle.min.js"
- "./dist/Chart.js"
- "./dist/Chart.min.js"
skip_cleanup: true
on:
tags: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## 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:

Expand Down
Loading

0 comments on commit 4e9e26c

Please sign in to comment.