加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.55 KB
一键复制 编辑 原始数据 按行查看 历史
vqqIM_admin 提交于 2017-10-20 17:33 . Update .travis.yml
sudo: false
language: node_js
matrix:
fast_finish: true
include:
- node_js: node
env: FOR=php
- node_js: node
env: FOR=jsp
- node_js: node
env: FOR=net
- node_js: node
env: FOR=asp
before_install:
- npm install grunt -g
install:
- npm install
- grunt neditor --server="$FOR"
# - sh -c "if [ '$FOR' = 'php' ]; then grunt neditor; fi"
#- sh -c "if [ '$FOR' = 'jsp' ]; then grunt neditor --server=jsp; fi"
#- sh -c "if [ '$FOR' = 'net' ]; then grunt neditor --server=.net; fi"
#- sh -c "if [ '$FOR' = 'asp' ]; then grunt neditor --server=asp; fi"
- tar -cvf neditor.tar --exclude=.git dist
- xz -z9 neditor.tar
script:
- sh -c "if [ '$FOR' = 'net' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-net-master.tar.xz -u "$UPYUN" -v; fi"
- sh -c "if [ '$FOR' = 'asp' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-asp-master.tar.xz -u "$UPYUN" -v; fi"
- sh -c "if [ '$FOR' = 'php' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-php-master.tar.xz -u "$UPYUN" -v; fi"
- sh -c "if [ '$FOR' = 'jsp' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-jsp-master.tar.xz -u "$UPYUN" -v; fi"
notifications:
webhooks:
- https://hook.bearychat.com/=bwA22/travis/52fa443470377f35e5a3d068b8d2d5ca
- https://hook.bearychat.com/=bwA7K/travis/3c04d191a6066d3e178ab8d93643e708
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化