Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
glogiotatidis committed Jan 15, 2016
1 parent ab61204 commit 710e0ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
language: python
env:
global:
- COVERAGE_FILE=/tmp/coverage/.coverage
- COVERAGE_FILE=/app/.tmp/.coverage
# NewRelic
- NEWRELIC_STAGE_APPLICATION=careers-stage-us-west
- NEWRELIC_PROD_APPLICATION=careers-prod-us-west
Expand Down Expand Up @@ -34,12 +34,12 @@ script:
- docker run ${DOCKER_REPOSITORY}:${TRAVIS_COMMIT} flake8 careers
# Give time to pgsql to initialize.
- sleep 5s;
- mkdir /tmp/coverage
- docker run -v /tmp/coverage --env-file .env --link pgsql:db ${DOCKER_REPOSITORY}:${TRAVIS_COMMIT} coverage run manage.py test
- sudo ln -s `pwd` /app
- mkdir /app/.tmp && chmod a+rw /app/.tmp
- docker run -v /app/.tmp:/app/.tmp --env-file .env --link pgsql:db ${DOCKER_REPOSITORY}:${TRAVIS_COMMIT} coverage run manage.py test
after_success:
- mv /tmp/coverage/.coverage .coverage
- pip install coveralls
- coveralls
- cd /app && coveralls
deploy:
- provider: script
script: bin/deploy-travis.sh $DEIS_STAGE_APPLICATION $NEWRELIC_STAGE_APPLICATION
Expand Down

0 comments on commit 710e0ca

Please sign in to comment.