forge/.travis.yml

40 строки
1.3 KiB
YAML

language: node_js
node_js: '8'
dist: xenial
osx_image: xcode8.3
cache: npm
services:
- docker
jobs:
include:
- stage: test
os: linux
env: NODE_INSTALLER=npm
- os: linux
env: NODE_INSTALLER=yarn
- os: osx
env: NODE_INSTALLER=npm
- os: osx
env: NODE_INSTALLER=yarn
- stage: docs
os: linux
node_js: '8'
script: ci/docs.sh
stages:
- test
- name: docs
if: branch = master AND fork = false
branches:
only:
- master
- /^v\d+\.\d+\.\d+/
install:
- npm i -g bolt@0.22.5
script: ci/script.sh
after_success: ci/coverage.sh
notifications:
slack:
secure: OIKgrHnR746qDfezkuMD2idSRrQVkfYII8JqhMmaQ46GRK6WtWC/vp/tThuj+Hc9LoHsBWNW0q4Lur1jchsgjYlgqYpdCGyl19yCMYs6XEnf0G+rXQyczzVeek9ZerwjwY5eyvdzKwE4I2khaNasyiVbdnArNDwg3TXcZdqFV2YkpNBzWJz6ha/QOO9l2D38Csdcfuz+6WdPSvoYyPcjQTvLDjvBcZapLm2lfQXduolRXxtCSDfRCAvl/DnT3TcwTyJEkHzwj32H1SyB3tW/1aPoouy0Lx+s+pQp8EWlnMq8rzS3cc9k51M7T6ziHQv9ATSo02Npf4EfzMByekbL2KO7tkkHax1J8+abUFikwtLyIPBwA9QYDV6lE0qtb3TFsRPSvsoxg7qYPDK4La+tbxMZwM0qR/oEZ5kKb5XGqNd5KO4huU3Eztp6cwXeTOdV7jYVZ1LdM+SmLKnjYaP/HHXLdGn4YJ7K/C59VlXMdaVIenOCbuIgBoK/vBn3dDX0n5xXkCTCgN7m85rOWEaFkj1vz05c/7Zvx7wvPjHe6UPTjSEBwXBU+F7Bwmq+aS5kzdIznZ2YKmn8OzdYlOkWAFhcE2PGOGVstAuqfKOBhAZHqPU0J+j+9uxdopFLHFeVxf+GZJDDB6MPYkn/xRz38JmarCaXI7nvkJFc1y40G00=
on_success: change
on_failure: change