html2canvas/.travis.yml

58 lines
1.9 KiB
YAML
Raw Normal View History

2013-05-29 19:41:15 +04:00
language: node_js
node_js:
2017-08-03 17:03:05 +03:00
- '7'
2013-05-29 19:41:15 +04:00
env:
global:
2015-10-19 01:00:04 +03:00
- secure: eW41gIqOizwO4pTgWnAAbW75AP7F+CK9qfSed/fSh4sJ9HWMIY1YRIaY8gjr+6jV/f7XVHcXuym6ZxgINYSkVKbF1JKxBJNLOXtSgNbVHSic58pYFvUjwxIBI9aPig9uux1+DbnpWqXFDTcACJSevQZE0xwmjdrSkDLgB0G34v8=
- secure: Y2Av+Gd3z9uQEB36GwdOOuGka0hx0/HeitASEo59z934O8RxnmN9eNTXS7dDT3XtKtwxIyLTOEpS7qlRdWahH28hr/dS4xJj6ao58C+1xMcDs6NAPGmDxUlcJWpcGEsnjmXjQCc3fBioSTdpIBrK/gdvgpNh77UKG74Sk7Z+YGk=
addons:
2017-08-11 18:25:37 +03:00
chrome: stable
2017-08-12 08:46:02 +03:00
firefox: latest
2017-08-11 18:25:37 +03:00
dist: trusty
sudo: false
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
notifications:
webhooks:
urls:
2015-10-19 01:00:04 +03:00
- https://webhooks.gitter.im/e/2b007d4f86de89588804
on_success: always
on_failure: always
on_start: false
2017-08-03 17:03:05 +03:00
script:
- npm run build
2017-12-10 11:43:34 +03:00
- cd www && npm install && npm run build && cd ..
2017-08-03 17:03:05 +03:00
- npm test
2015-10-19 01:00:04 +03:00
deploy:
- provider: npm
email: niklasvh@gmail.com
api_key:
2015-10-19 01:44:08 +03:00
secure: G/Szpr8q4/D6hp+H/Z9yyluUXtHAwf7LLa1Y07X59/Enlj1h7V5fQ7AW4/iAVM3XbIsrCPWR3dJU9g/ZxpxFg4OovIHVpS2Jr/mahtPYWdHR3pWuSmMW8QD+Twnq2VAFwSgg5Oumq3QxhX3YbCOnZox6+6Uviqk8FO7Z5B0RwW4=
2017-12-03 12:24:31 +03:00
skip_cleanup: true
on:
tags: true
branch: master
repo: niklasvh/html2canvas
- provider: releases
api_key:
secure: "PowO/Jat660k3gHcjgI6DlJz15RM7pLUu11UPsLCtYJ8ZwodppE6Keg0DfVkSFSIZttZor+UssDwP/WOEqfZNLqmXbcj3Gec4xolohet/GOe0KJKKuF/HgggbcxumopxMX6sMVePlMBpkLpHh7tgEAEHBWTlzC1c1a7Xa48fZ7k="
file:
- "dist/html2canvas.js"
- "dist/html2canvas.min.js"
skip_cleanup: true
2015-10-19 01:00:04 +03:00
on:
tags: true
branch: master
repo: niklasvh/html2canvas
2017-12-10 11:43:34 +03:00
- provider: pages
skip_cleanup: true
local_dir: www/public
2017-12-12 18:26:28 +03:00
target_branch: gh-pages
2017-12-10 11:43:34 +03:00
fqdn: html2canvas.hertzen.com
github_token:
secure: "PowO/Jat660k3gHcjgI6DlJz15RM7pLUu11UPsLCtYJ8ZwodppE6Keg0DfVkSFSIZttZor+UssDwP/WOEqfZNLqmXbcj3Gec4xolohet/GOe0KJKKuF/HgggbcxumopxMX6sMVePlMBpkLpHh7tgEAEHBWTlzC1c1a7Xa48fZ7k="
on:
branch: master
repo: niklasvh/html2canvas