new ci setup

This commit is contained in:
2019-09-23 06:16:55 -04:00
parent 027296c9bc
commit df5d56673b
3 changed files with 8 additions and 3 deletions
+3 -2
View File
@@ -8,8 +8,9 @@
lazy_brew pipenv bats
//python: @skip:key=Pipfile.lock //system
pipenv install --dev
test: //build
docker-compose run --entrypoint bash bake -c 'set -ex && pipenv install --dev --system --deploy && cd tests && bats *.bats'
test: build
unset BAKEFILE
docker-compose run --entrypoint bash ci -c 'set -ex && pip3 uninstall -y bake-cli && pip3 install -e . --upgrade && hash -r && cd tests && bats *.bats --pretty'
release: test //warn @confirm:secure release//pypi docker/release
//warn:
+3 -1
View File
@@ -24,7 +24,7 @@ services:
depends_on:
- core
volumes:
- ./Bakefile:/app/Bakefile
# - ./Bakefile:/app/Bakefile
- .:/app
red:
@@ -42,3 +42,5 @@ services:
dockerfile: ./docker/ci.Dockerfile
depends_on:
- core
volumes:
- .:/app
+2
View File
@@ -1,5 +1,7 @@
FROM kennethreitz/bake:core
ENV TERM xterm
# -- Install CI deps.
RUN set -ex && \
apt-get update -qq && \