Blame | Last modification | View Log | RSS feed
language: node_jsnode_js:- "6"before_install:- "export CHROME_BIN=/usr/bin/google-chrome"- "export DISPLAY=:99.0"- "sh -e /etc/init.d/xvfb start"script:- gulp build- gulp test --coverage- gulp docs- gulp package- gulp bower- cat ./coverage/lcov.info | ./node_modules/.bin/coverallsnotifications:slack: chartjs:pcfCZR6ugg5TEcaLtmIfQYuAsudo: requireddist: trustyaddons:chrome: stablefirefox: 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-225025939deploy:- provider: scriptscript: ./scripts/deploy.shskip_cleanup: trueon:all_branches: true- provider: scriptscript: ./scripts/release.shskip_cleanup: trueon:branch: release- provider: releasesapi_key: $GITHUB_AUTH_TOKENfile:- "./dist/Chart.bundle.js"- "./dist/Chart.bundle.min.js"- "./dist/Chart.js"- "./dist/Chart.min.js"- "./dist/Chart.js.zip"skip_cleanup: trueon:tags: true- provider: npmemail: $NPM_AUTH_EMAILapi_key: $NPM_AUTH_TOKENskip_cleanup: trueon:tags: true