grafanalib/circle.yml
Jonathan Lange 2f24538f24 make all
Just making `test` means that the docker images aren't built
2017-03-02 15:05:57 +00:00

26 lines
611 B
YAML

machine:
services:
- docker
python:
version: 3.5.2
environment:
PATH: $HOME/bin:$PATH
SRCDIR: /home/ubuntu/src/github.com/weaveworks/grafanalib
dependencies:
override:
- make deps
test:
override:
- "mkdir -p $(dirname $SRCDIR) && cp -r $(pwd)/ $SRCDIR"
- "mkdir -p $CIRCLE_TEST_REPORTS/py.test/"
- cd $SRCDIR; make JUNIT_XML=$CIRCLE_TEST_REPORTS/py.test/junit.xml all
deployment:
push:
branch: master
commands:
- docker login -e '.' -u "$QUAY_USER" -p "$QUAY_PASSWORD" quay.io
- docker push quay.io/weaveworks/gfdatasource:$(./tools/image-tag)