2020-02-10 23:13:58 +08:00
|
|
|
# 持续集成 CI
|
|
|
|
# @see https://docs.travis-ci.com/user/tutorial/
|
|
|
|
|
|
|
|
language: node_js
|
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
2022-04-06 20:29:31 +08:00
|
|
|
node_js: '16.13.0'
|
2020-02-10 23:13:58 +08:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- export TZ=Asia/Shanghai
|
|
|
|
|
|
|
|
script: bash ./scripts/deploy.sh
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- forbreak@163.com
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|