1 Star 1 Fork 0

HEarTache_psR/cxmooc-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
幻令 提交于 2019-04-20 22:53 . Merge branch 'featured' into develop
language: node_js
sudo: required
notifications:
email:
on_failure: always
dist: xenial
node_js: stable
cache:
- npm
before_install:
- export TZ='Asia/Shanghai'
- openssl aes-256-cbc -K $encrypted_b7d8153e3775_key -iv $encrypted_b7d8153e3775_iv -in ./build/cxmooc-tools.pem.enc -out ./build/cxmooc-tools.pem -d
- npm install
script:
- npm run docs:build
- npm run build
- npm run tampermonkey
- npm run pack
- cd build/cxmooc-tools && zip ../cxmooc-tools.zip -r ./ && cd ../../
deploy:
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file:
- build/tampermonkey.js
- build/*.crx
- build/*.zip
skip_cleanup: true
on:
tags: true
- provider: pages
skip_cleanup: true
committer-from-gh: true
github_token: $GITHUB_TOKEN
local_dir: docs/.vuepress/dist
keep-history: true
target-branch: gh-pages
on:
branch: master
- provider: script
script: node src/tg-bot.js
skip_cleanup: true
on:
all_branches: true
condition: $TRAVIS_BRANCH =~ ^hotfix|develop$
- provider: script
script: node src/tg-bot.js
skip_cleanup: true
on:
tags: true
- provider: npm
email: $NPM_EMAIL
api_key: $NPM_KEY
on:
tags: true
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/HEarTache_psR/cxmooc-tools.git
git@gitee.com:HEarTache_psR/cxmooc-tools.git
HEarTache_psR
cxmooc-tools
cxmooc-tools
master

搜索帮助