Skip to content

Commit

Permalink
Changed travis.yml to resolve problem with unsupported version #3
Browse files Browse the repository at this point in the history
  • Loading branch information
spyker77 committed Aug 30, 2020
1 parent 79f1706 commit 5ec4793
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ dist: focal
services:
- docker
before_script:
- docker --version
- docker-compose --version
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.26.2/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker --version
- docker-compose --version
- docker-compose up -d --build
- docker --version
- docker-compose --version
- docker ps -a
- docker-compose exec web python manage.py collectstatic --noinput
script:
- docker-compose exec web pytest -n 2

0 comments on commit 5ec4793

Please sign in to comment.