mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
1c25f62f60
no issue The built-in slack notifications are not working as expected in terms of amount of notifications received, we switch to old manual notification script for the time being till this is sorted.
23 lines
565 B
YAML
23 lines
565 B
YAML
dist: xenial
|
|
language: node_js
|
|
node_js:
|
|
- '10'
|
|
cache: yarn
|
|
env:
|
|
global:
|
|
- MOZ_HEADLESS=1
|
|
- JOBS=1
|
|
# Don't run builds for renovate PRs
|
|
if: NOT head_branch =~ ^renovate
|
|
addons:
|
|
firefox: latest
|
|
chrome: stable
|
|
install:
|
|
- yarn
|
|
script:
|
|
- yarn run lint:js && yarn run test
|
|
after_failure: |
|
|
if [ "${TRAVIS_EVENT_TYPE}" == "cron" ]; then
|
|
curl -X POST --data-urlencode "payload={\"attachments\": [{\"color\": \"danger\", \"fallback\": \"Build Failure: $TRAVIS_JOB_WEB_URL\", \"title\": \"Build Failure\", \"text\": \"$TRAVIS_JOB_WEB_URL\"}]}" $SLACK_URL
|
|
fi
|