Skip to content

Commit

Permalink
ci(Travis): Fix issues caused by low docker-compose version at Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarioustim committed Jan 11, 2019
1 parent afcc7e6 commit 670b76b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ git:

services: docker

before_install:
- make build
before_install: docker build -t nefarioustim/cerberus-auth .

install: true

script:
- make test
- docker run -v ${PWD}:/app nefarioustim/cerberus-auth pipenv run pytest
- sonar-scanner
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
all: test

build: clean-pyc
docker-compose build --no-cache app
docker-compose build --no-cache --compress app

pip-lock: clean-pyc
docker-compose run --rm --no-deps app pipenv lock
Expand Down

0 comments on commit 670b76b

Please sign in to comment.