Chart.js/.travis.yml

57 lines
1.1 KiB
YAML
Raw Normal View History

2015-01-01 18:57:21 +01:00
language: node_js
node_js:
- lts/*
2015-01-01 18:57:21 +01:00
2015-10-21 02:08:41 +02:00
before_install:
- "export CHROME_BIN=/usr/bin/google-chrome-beta"
2020-01-07 22:45:04 +01:00
services:
- xvfb
2015-10-21 02:08:41 +02:00
2015-01-01 18:57:21 +01:00
script:
- gulp build
- gulp test --coverage
- gulp docs
- gulp package
- gulp bower
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls || true
2015-01-30 03:43:02 +01:00
sudo: required
dist: bionic
2016-04-02 15:37:07 +02:00
addons:
chrome: beta
2016-04-16 14:24:18 +02:00
firefox: latest
# IMPORTANT: scripts require GITHUB_AUTH_TOKEN and GITHUB_AUTH_EMAIL environment variables
# IMPORTANT: scripts has to be set executables in the Git repository (error 127)
# https://github.com/travis-ci/travis-ci/issues/5538#issuecomment-225025939
deploy:
- provider: script
2017-05-25 15:53:14 +02:00
script: ./scripts/deploy.sh
skip_cleanup: true
on:
2017-05-25 15:53:14 +02:00
all_branches: true
- provider: script
2017-05-25 15:53:14 +02:00
script: ./scripts/release.sh
skip_cleanup: true
on:
2017-05-25 15:53:14 +02:00
branch: release
- provider: releases
api_key: $GITHUB_AUTH_TOKEN
skip_cleanup: true
file_glob: true
file:
- ./dist/*.css
- ./dist/*.js
- ./dist/*.zip
on:
tags: true
- provider: npm
email: $NPM_AUTH_EMAIL
api_key: $NPM_AUTH_TOKEN
skip_cleanup: true
on:
tags: true