Commit Graph

34 Commits

Author SHA1 Message Date
Evert Timberg
a9d4ebf881 Remove the old slack token used for notifications. (#6245) 2019-05-05 08:08:28 +02:00
Simon Brunel
31aebf3bab Include generated CSS in the GitHub releases 2019-03-04 09:57:08 +01:00
Simon Brunel
3cb2d7050e
Remove gulp-connect and add jsdelivr/unpkg paths (#5875) 2018-12-01 08:35:43 +01:00
andig
7f751c8d80 Suppress coveralls errors if run from fork (#4699) 2017-11-01 16:00:41 +01:00
Simon Brunel
c6bda02468 Rewrite unit test waitForResize helper (#4566)
The original implementation tries to intercept events from the chart internal iframe, which ones failing on Chrome 60. Checking internals doesn't seem the best approach, instead we could consider that a chart has been resized after the resize method has been called and processed. So let's hook `Chart.resize` and callback once it's done.
2017-07-26 13:33:45 +02:00
Ben McCann
94099c10f7 Remove duplicate npm install (#4542) 2017-07-21 08:21:29 +02:00
Ben McCann
2a9a57e316 Use the latest 6.x LTS release for Travis builds (#4346) 2017-06-07 23:21:07 +02:00
Simon Brunel
6ecad0b33c Attempt to fix the failing deploy step 2017-05-25 16:05:37 +02:00
Simon Brunel
9f67266df3 Deploy to GitHub pages (#4256)
Add Travis CI task to deploy the docs, samples and dist files to chartjs.github.io for the `release` and `master` branches. A `latest` symbolic links is also created for each folder to the highest version (or `master` if any).
2017-05-19 21:58:34 +02:00
Simon Brunel
e3f3b8978b Add gulp unittest --coverage argument (#4075)
Coverage data are now generated by running `gulp unittest` with the `--coverage` argument: unit tests are then executed a single time on Travis. The gulp `coverage` task has been removed and `karma.coverage.conf.ci.js` merged into `karma.conf.ci.js`.

Update documentation with gulp commands (and remove them from `README.md`) and remove unused `config.jshintrc` (oversight from #3256). Delete `thankyou.md` which has been merged into `README.md`.
2017-03-25 18:26:45 +01:00
Simon Brunel
f12fbbc6cc Remove encrypted data from .travis.yml
Secure values are now read from environment variables defined in the repository settings: https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings
2016-08-28 18:21:13 +02:00
Simon Brunel
e8a51d80c8 #3033 Deploy dist files and bower.json (tags)
Add a new Travis deploy task to push dist/*.js and bower.json files into tag sources:
- requires Travis GITHUB_AUTH_TOKEN and GITHUB_AUTH_EMAIL environment variables
- skipped if not built from the "release" branch
- release.sh must be executable (see comment)
- reads tag version from package.json
- fails if tag already exists
2016-08-28 18:21:12 +02:00
Simon Brunel
cd50edbc84 #3182 Gulp task to generate bower.json file 2016-08-28 18:21:10 +02:00
Simon Brunel
6572c94bd6 Fix missing Chart.js.zip file for Travis release 2016-07-15 13:01:55 +02:00
Evert Timberg
5804f1e3c9 Package.json for v.2.2.0-rc.1 and fixed travis deploy 2016-07-13 20:00:12 -04:00
Simon Brunel
782b84ae94 Make Travis to release the npm package
Add .npmignore to include dist/*.js files to the npm release (but exclude zip files). See https://docs.travis-ci.com/user/deployment/npm/. Also cleanup the .gitignore file.
2016-06-18 12:14:32 +02:00
Simon Brunel
53a0c5442e New Chart.js.zip package
Samples need to be packaged with built libraries (which one have been removed from the repository), so create a new `gulp package` task to generate a ZIP archive with dist files, samples and the license file. This archive is generated in the ./dist/ folder and will be deployed by Travis along the GH release. Note that the ./dist/ folder is not preserved but merged in the archive root. Also change samples requiring moment.js to load this lib from the CDN instead of the ./node_module folder.
2016-06-18 12:14:31 +02:00
Simon Brunel
72edacd877 Make Travis to deploy built files for tags
See https://docs.travis-ci.com/user/deployment/releases
2016-06-18 12:14:28 +02:00
Evert Timberg
5514ee07c1 Revert "Travis GitHub Releases" (#2553) 2016-05-14 18:08:38 -04:00
Simon Brunel
4e9e26c85d Travis GitHub Releases (#2552)
* 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.
2016-05-14 17:35:32 -04:00
Evert Timberg
76b3494a0a Fix build and update to latest node js version. 2016-04-21 07:50:20 -04:00
Evert Timberg
7bff3387b7 Newer ubuntu version 2016-04-16 08:28:33 -04:00
Evert Timberg
0c32db7094 try a different travis config 2016-04-16 08:24:18 -04:00
Evert Timberg
2b361e1fee Fix typo 2016-04-02 09:41:18 -04:00
Evert Timberg
7875b0c68d Install latest chrome before running tests 2016-04-02 09:37:20 -04:00
Evert Timberg
5c1f242785 Use latest firefox version 2016-04-02 09:37:07 -04:00
Evert Timberg
489f7ce6f7 use a new node version 2016-02-14 09:38:02 -05:00
Evert Timberg
679ac764b1 Travis CI should also run tests on chrome 2015-11-07 09:34:07 -05:00
Tanner Linsley
4d009d116d Use the new travis CI docker framework (hopefully) 2015-10-24 01:31:08 -06:00
Evert Timberg
2e77651dd2 Test in firefox on travis 2015-10-20 20:08:41 -04:00
Jake
5ec66308e4 Update .travis.yml 2015-01-29 21:43:02 -05:00
Nick Downie
329ad3cdce Remove checking .min file in CI 2015-01-03 17:19:28 +00:00
Nick Downie
84e859b6c5 Remove email notifications 2015-01-03 15:49:58 +00:00
William Entriken
cfc4599a30 Add Travis CI support 2015-01-01 12:57:21 -05:00