1 Star 0 Fork 3

cheng53955/MineCase

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 788 Bytes
一键复制 编辑 原始数据 按行查看 历史
jstzwj 提交于 2020-02-27 20:13 . remove recipe tests for next refactor
language: csharp
dotnet: 3.1.1
mono: none
script:
# build
- cd ./src
- dotnet restore
- dotnet build -c TravisCI
# test
- cd ../tests
- dotnet test
# docker build
- cd ../src/MineCase.Gateway
- dotnet publish -c TravisCI -o obj/Docker/publish
- docker build -t minecase.gateway .
- cd ../MineCase.Server
- dotnet publish -c TravisCI -o obj/Docker/publish
- docker build -t minecase.server .
# docker push
- docker tag minecase.gateway sunnycase/minecase.gateway:ci-latest
- docker tag minecase.server sunnycase/minecase.server:ci-latest
- >
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"
docker push sunnycase/minecase.gateway
docker push sunnycase/minecase.server
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/cheng53955/MineCase.git
git@gitee.com:cheng53955/MineCase.git
cheng53955
MineCase
MineCase
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385