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-01-23 01:11:10 +00:00
|
|
|
- 'if [ "$NODE7" = "true" ]; then npm run lint; fi'
|
|
|
|
- 'if [ "$NODE7" = "true" ]; then npm run coverage; fi'
|
|
|
|
- 'if [ "$NODE7" = "true" ]; then npm run test-doclint; fi'
|
|
|
|
- 'if [ "$NODE6" = "true" ]; then npm run unit-node6; fi'
|
2017-08-24 19:20:05 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2018-03-13 14:44:14 +00:00
|
|
|
- node_js: "7.10.1"
|
2017-08-24 19:20:05 +00:00
|
|
|
env: NODE7=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-21 00:07:57 +00:00
|
|
|
secure: Hpm5uE47cDeHd3uAYwyzCvDH6a1ihgHjniZeulrLUKMmqofbjT2ophtgiJzuH7Y0QFDRbKInHna7VsJia68GPPlc1MfUphUvWOHtsvS2yES8uN3sA0/bWx9o3t8kaBIENquDV3NcHZDTHRMMwOBKWbPm01kv+w7pM3VxzQ8uQsBcIQfG3248EBoJSVg940EiQFi4nZyam++Ens0jgcr/Ysz2bBd4MxlT6GdEacsXfbzq4iRvKRnf0rvJwcNdmwq2drKQutIDeJo/m9Ge8/CvbLVyWvN7C8o5DH7UrRlZeAZrXkEr93PujYv8UvmOmglzUzdJXyyi4uc4bLIuzZqun7oxP9+v9SFu8X5Waxvwv8WVp9cOK/JT/9GZvL6aGJ3zVgWombj9AZMbDeNoFl4YLqlUbPT+rAzYdLHIXkNgprG78E/9h0H4PAbObTggA9+4OOs+18c6QYLzsxUo7FkHMyt5h3MjhUHJrd/kr3+RYaM+hUBAataeRgWB9G2LHe6HTHiKKlNLUQ2oJHXOwhGEWFy0gJmJEKG0295c3lDiykSvq6aMj1g7s2hfWdhVvRFO0oV6djIIktiezmUOZxc7roo2aW+P6RJVxjVk0jKf4Fnyx2itdLLXdn4xvpyrf5XU7+KgLJW5zsHsTTzAmzjOv0gv6Y27ZwE03H+U+HmbufQ=
|
2017-12-28 01:19:48 +00:00
|
|
|
on:
|
|
|
|
branch: master
|
2017-12-28 18:40:38 +00:00
|
|
|
condition: "$NODE7 = true"
|
2017-12-28 01:19:48 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
tag: next
|