hubot-slack
Version:
A Slack adapter for hubot
21 lines (20 loc) • 514 B
YAML
language: node_js
node_js:
- "10"
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
- "4.2"
env:
- HUBOT_VERSION=">=2.0 <3"
- HUBOT_VERSION="^3.0"
after_success:
- npm run codecov
# The second step here installs the specific hubot version determined
# by the `env` specified in the matrix. That lets us test against
# multiple Hubot versions. This is a bit messy, but works around
# package.json only being able to specify one version.
script: npm install && npm install hubot@"$HUBOT_VERSION" && npm test