提交 f71d3e7c 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

bind host directory to container from ci

上级 0a95c3cc
......@@ -11,15 +11,18 @@ branches:
only:
- master
build:
# http://docs.shippable.com/ci/shippableyml/#ci
build
pre_ci_boot:
options: -v /root:/root
# http://docs.shippable.com/ci/shippableyml/#ci
ci:
- curl -sSL -o /tmp/bats_v0.4.0.tar.gz https://github.com/sstephenson/bats/archive/v0.4.0.tar.gz
- tar -xf /tmp/bats_v0.4.0.tar.gz
- sudo bats-0.4.0/install.sh /usr/local
- pwd
- ls -l
# - docker run -v "$(pwd)":/mnt nlknguyen/alpine-shellcheck bin/*.sh
- docker run -v "$(pwd)":/mnt nlknguyen/alpine-shellcheck bin/*.sh
- ./scripts/docker.sh build
- ./scripts/docker.sh test
on_success:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册