Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
run flake8 and docker build on test (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs authored Dec 3, 2018
1 parent 9f44c73 commit 1d5da01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ sudo: yes
language: python
python:
- "3.7"
services:
- docker
install:
- pip install pipenv
- pipenv install --dev
script:
- pipenv run coverage run --source=kube_downscaler -m py.test
- make test docker
after_success:
- coveralls
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ default: docker

test:
pipenv run flake8
pipenv run python3 -m pytest
pipenv run coverage run --source=kube_downscaler -m py.test
pipenv run coverage report

docker:
docker build --build-arg "VERSION=$(VERSION)" -t "$(IMAGE):$(TAG)" .
Expand Down

0 comments on commit 1d5da01

Please sign in to comment.