Makefile: ensure repo is clean before testing

This commit is contained in:
Lucas Servén Marín 2020-01-08 18:05:27 +01:00
parent 4b2f6c6692
commit eb0500f994
No known key found for this signature in database
GPG Key ID: 586FEAF680DA74AD
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ install: true
script: script:
- make - make
- make clean
- make unit - make unit
- make lint - make lint
- make container - make container

View File

@ -267,10 +267,10 @@ push-name:
@echo "pushed: $(IMAGE):$(ARCH)-$(VERSION)" @echo "pushed: $(IMAGE):$(ARCH)-$(VERSION)"
clean: container-clean bin-clean clean: container-clean bin-clean
rm -r .cache rm -rf .cache
container-clean: container-clean:
rm -rf .container-* .push-* rm -rf .container-* .manifest-* .push-*
bin-clean: bin-clean:
rm -rf bin rm -rf bin