1 Star 0 Fork 10

Yale/vue-hash-calendar

forked from TSY/vue-hash-calendar 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
TSY 提交于 2021-01-14 22:56 . upd: npm install 添加淘宝镜像
language: node_js
node_js:
- '10'
install:
- echo "install successed"
os:
- linux
stages:
- test
- name: deploy
jobs:
include:
- stage: test
script:
- node --version
- npm --version
- echo "Testing Started ..."
- npm test
- echo "Testing Finished."
- stage: deploy
script:
- echo "NPM Deploying Started ..."
- cd ../
- rm -rf vue-hash-calendar/
- git clone https://${GH_REF}
- cd vue-hash-calendar
- git branch
- git checkout travis_build
- git merge master
- cd npm_package/
- npm version patch
- cd ../build_package/
- npm version patch
- cd ../
- npm install --registry=https://registry.npm.taobao.org
- npm run lib
- cp -f npm_package/package.json ./
- echo "NPM Building Finished."
deploy:
provider: npm
email: t@tsy6.com
api_key: '$NPM_TOKEN' # NPM_TOKEN 是在 Travis 中配置的 npm token 的名称
skip_cleanup: true
on:
all_branches: true
after_script:
- cp -f build_package/package.json ./
- ls
- git config user.name "Travis"
- git config user.email "t@tsy6.com"
- git add .
- git commit -m "Travis CI Auto Builder"
- git status
- git push "https://${GH_TOKEN}@${GH_REF}" travis_build:travis_build # GH_TOKEN 是在 Travis 中配置 github token 的名称
branches:
only:
- master
env:
global:
- GH_REF: github.com/TangSY/vue-hash-calendar.git #github仓库地址
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yaler/vue-hash-calendar.git
git@gitee.com:yaler/vue-hash-calendar.git
yaler
vue-hash-calendar
vue-hash-calendar
master

搜索帮助