2017-06-21 00:04:24 +00:00
|
|
|
language: node_js
|
|
|
|
dist: trusty
|
2017-06-21 03:48:35 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
# This is required to run new chrome on old trusty
|
|
|
|
- libnss3
|
2018-04-19 20:27:37 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2017-06-21 00:04:24 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
2017-11-03 07:02:41 +00:00
|
|
|
# allow headful tests
|
|
|
|
before_install:
|
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
2017-06-21 00:04:24 +00:00
|
|
|
script:
|
2018-07-26 23:27:11 +00:00
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run lint; fi'
|
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run coverage; fi'
|
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run test-doclint; fi'
|
2018-09-13 19:08:51 +00:00
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run bundle; fi'
|
|
|
|
- 'if [ "$NODE8" = "true" ]; then npm run unit-bundle; fi'
|
2018-01-23 01:11:10 +00:00
|
|
|
- 'if [ "$NODE6" = "true" ]; then npm run unit-node6; fi'
|
2017-08-24 19:20:05 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2018-07-26 23:27:11 +00:00
|
|
|
- node_js: "8.11.3"
|
|
|
|
env: NODE8=true
|
2018-03-13 14:44:14 +00:00
|
|
|
- node_js: "6.12.3"
|
2017-08-24 19:20:05 +00:00
|
|
|
env: NODE6=true
|
2018-01-23 01:11:10 +00:00
|
|
|
before_deploy: "npm run apply-next-version"
|
2017-12-28 01:19:48 +00:00
|
|
|
deploy:
|
|
|
|
provider: npm
|
|
|
|
email: aslushnikov@gmail.com
|
|
|
|
api_key:
|
2018-07-24 00:04:16 +00:00
|
|
|
secure: YceCJ1DbVuSvZLB95vBY3xtatihhlZ4fo6KWrGnwCp+EVf4Wpgf7cmDPpxkSyCkUxoyVp81LR1blDA2PvZtxYT00vMYlQCpbLIOKSrPhDP2+VkkhGzDhfov6Ft62QpyRZYOfu4zwU13DFoEI8tVkXm7XlYaaUHqZIOZHo2KfMNd5N9Jc3KfOMWh3xZlXvgnL/68FqX2nXAzoZUjpktz0U4gF5sMRlqNcXtzF3YwHvEagFVfq8OGV0rzpAqkm4c+u0Q2IMBcmdJN3doK2IS58UjG55nAw4E53OMlucR2GW61Sh2WnuyR0011N9nlVYlaicFZmGCQM9IU+0JjXEoYZcXgqOrfYPX2NpUnT7E9rHflmFkbNZ5dKf3NVXAdKR4CcpGDg4TG2xnwaTf8lrEoap5+Rh+XHyro186MxfRT9fUcIKWnr24UGJlCj7gdS7yirGPgYv0godV83xVY9HSJXZGYZPL6568DtpMwFvhYmtPeVdqi9+7COYgW4COAxX/laRyTCRiC5X6TyEhz70UGJkpfkl12zHUCQg9S+iVrkZ3KuESTWBYotNFFWmy8jyDoGS+7tz9gY5XnmEgCcWgCNrPUUQsvSrmUxPheMnLYGb0arePLPkAEaw/GzSrJiwYbijDi/1Y3bUJ4fAhSgYP37gI2f7/wt9pVxy5A7ZX0MNgg=
|
2017-12-28 01:19:48 +00:00
|
|
|
on:
|
|
|
|
branch: master
|
2018-07-26 23:27:11 +00:00
|
|
|
condition: "$NODE8 = true"
|
2017-12-28 01:19:48 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
tag: next
|