1 Star 0 Fork 1

dgiot开源社区 / dgiotMqtt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 953 Bytes
一键复制 编辑 原始数据 按行查看 历史
h7ml 提交于 2021-09-10 18:13 . :tada:
language: node_js
node_js: stable
notifications:
email:
recipients:
- h7ml@qq.com
on_success: change
on_failure: always
branches:
only:
- main
cache:
apt: true
directories:
- node_modules
os: linux
# https://docs.travis-ci.com/user/reference/overview/
dist: xenial
addons:
chrome: stable
services:
- xvfb
sudo: required
# turn off the clone of submodules for change the SSH to HTTPS in .gitmodules to avoid the error
git:
submodules: false
before_install:
- 'export DISPLAY=:99.0'
- sleep 3 # give xvfb some time to start
- '/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16'
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
install:
- npm set progress=false
- npm install
script:
- npm run karma:test
after_script:
- npm run codecov
1
https://gitee.com/dgiiot/dgiotMqtt.git
git@gitee.com:dgiiot/dgiotMqtt.git
dgiiot
dgiotMqtt
dgiotMqtt
master

搜索帮助