Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Iago Veloso committed Oct 28, 2018
1 parent 0e37809 commit 3ca34d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ branches:
- develop

install:
- pip install coverage coveralls
- pip install coveralls

script:
- sh -x run coverage
- cd reports && coverage combine
- cp -v .sample.env .env
- docker-compose run -e COVERAGE_FILE=reports/coverage.xml --rm --volume "$(pwd)/reports:/radioco/reports" django coverage run manage.py test radioco

after_success:
cd reports && coveralls
2 changes: 1 addition & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ function start_dev(){
echo "Creating .env file. Update your environment variables and try again."
exit 0
fi
export_file_vars .env
docker-compose $COMPOSE_FILES down --remove-orphans
docker-compose $COMPOSE_FILES build
export_file_vars .env
docker-compose $COMPOSE_FILES up -d
echo "RadioCo is running at http://127.0.0.1:${PORT_BACKEND}"
}
Expand Down

0 comments on commit 3ca34d3

Please sign in to comment.