Skip to content

Commit 8909799

Browse files
committed
Travis build and releases integration
Travis now builds and releases dist files for tags to GH. See https://docs.travis-ci.com/user/deployment/releases
1 parent acc1775 commit 8909799

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
node_js:
3+
- '4.4'
4+
5+
script:
6+
- gulp build
7+
8+
deploy:
9+
provider: releases
10+
api_key:
11+
secure: ejOLLIcHVw+MEUFVoCeQIHD4CuHSMeG7CJ1PGH74BPSzK2t5crBkCchhO9G4lRjrra3fI7O/8iz9EQknLLXEqWah5oi/jy2hpsD+7etfxyL0KBw9JBpbBM/Klc3M200KaWUvcSZIO4rsuObAPQV0OWkVFvZiA3EIVEerkXR3ms1JHueD9qXWuRniiNoalSedfVrOmlj6yqA+D2tdLDcj4AcLOO86oGNVcc5zeTFXljtuxpwedcQS4kcarwQC4arROQx7XNdPgiO7egGZej31/DoTB4PYV70M0UtDztvj1JYz53thgElX6w6c6lF41HHAMoGhP6Rpiw0TiF9a37GCivzD7aKUSek+ekP+DxV6HdOgaLlsBk8Ryw9p3GQ9p/shYjCRxjSRduQoxgSYnf10yS8j9m3moDvuY4//uchu9pvMTeTIXkRx1z913isyIaa8GM9SHxiIPYBOKIltLcq3g2/s0WUsyBC8bSY1I8DRLmZn2HOEgJBkI3kWmO8zL1Y3ZtRAg/pAN84h2DeM52toFC0Pw8MZ0YedVOWa3k1HpQddi7x4pvvG4c9S/BHwGOnr3O2O3ahL24pNB4QNrqvp770fd9GDgjmXbHpsw8FNOSYCd9eoi7FWSWgc6CkQI8VuYThXV8D7K+70WxZfbBLQBSM8M6sSres661k39RwoKro=
12+
file:
13+
- "./dist/Chart.Deferred.js"
14+
- "./dist/Chart.Deferred.min.js"
15+
skip_cleanup: true
16+
on:
17+
tags: true

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
# Chart.Deferred.js
22

3+
[![Build Status](https://travis-ci.org/chartjs/Chart.Deferred.js.svg?branch=master)](https://travis-ci.org/chartjs/Chart.Deferred.js)
4+
35
A [Chart.js](http://www.chartjs.org/) plugin to defer the initial chart update until the user scrolls and the canvas appears inside the viewport. The main intent of Chart.Deferred.js is to trigger the initial chart animations when the user is likely to see them.
46

57
Requires Chart.js **2.1.5** or later.
68

9+
## Usage
10+
11+
You can download the latest version of [Chart.Deferred.js on GitHub](https://github.com/chartjs/Chart.Deferred.js/releases/latest)
12+
713
## Configuration
814

915
To configure this plugin, you can simply add the following entries to your chart options:

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var header = "/*!\n\
2323
*/\n";
2424

2525
gulp.task('build', buildTask);
26-
gulp.task('default', buildTask);
26+
gulp.task('default', ['build']);
2727

2828
function watch(glob, task) {
2929
gutil.log('Waiting for changes...');

0 commit comments

Comments
 (0)