2 Star 0 Fork 0

mirrors_TIBCOSoftware/flogo-contrib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
Tracy Li 提交于 2017-11-22 07:23 +08:00 . overwrite install steps
language: go
go:
- 1.8.x
sudo: required
services:
- docker
cache:
bundler: false
directories:
- .build-cache # images.txt
# Handle git submodules yourself
git:
submodules: false
jobs:
include:
- stage: build
# Do a github login using token
before_install:
- "echo -e \"machine github.com\n login ${GITHUB_USER_TOKEN}\" >> ~/.netrc"
install:
- "echo \"Install process\""
script:
- touch flogo-contrib.tgz
- tar cvfz flogo-contrib.tgz --exclude=flogo-contrib.tgz .
- find . -not -name "flogo-contrib.tgz" -not -name "\." -not -name "\.\." -print0 | xargs -0 rm -rf --
- "git ls-remote --exit-code https://github.com/TIBCOSoftware/flogo-cicd.git ${TRAVIS_BRANCH} ;
if [ $? -eq 0 ]; then
echo \"Branch ${TRAVIS_BRANCH} found on flogo-cicd\" ;
git clone https://github.com/TIBCOSoftware/flogo-cicd.git --branch ${TRAVIS_BRANCH} --single-branch flogo-cicd ;
else
echo \"Branch ${TRAVIS_BRANCH} not found on flogo-cicd using master\" ;
git clone https://github.com/TIBCOSoftware/flogo-cicd.git flogo-cicd ;
fi"
- pushd flogo-cicd/docker/flogo-contrib
- ./build-flogo-contrib.sh
- popd
after_script:
- "[ -f \"${HOME}/.netrc\" ] && rm -f ${HOME}/.netrc"
after_success:
- "if [ \"${TRAVIS_BRANCH}\" == \"master\" ]; then
docker login -u=\"${DOCKER_USERNAME}\" -p=\"${DOCKER_PASSWORD}\";
source ${TRAVIS_BUILD_DIR}/flogo-cicd/scripts/init.sh ;
flogo::module::postbuild flogo-contrib flogo-contrib;
fi"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_TIBCOSoftware/flogo-contrib.git
git@gitee.com:mirrors_TIBCOSoftware/flogo-contrib.git
mirrors_TIBCOSoftware
flogo-contrib
flogo-contrib
master

搜索帮助