Skip to content

Commit

Permalink
[fix] look into coverage
Browse files Browse the repository at this point in the history
- screw nosetests
- update test settings for travis CI
- over 9000
  • Loading branch information
collinmutembei committed Mar 3, 2016
1 parent b88c5a0 commit 974bdcb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
omit =
*virtualenv*
*envs*
*/migrations/*
*migrations/*
*/python?.?/*
*__init__*
*/tests/*
*manage.py
*settings.py*
*settings.py
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
language: python
python:
- "3.4"
- "3.5"
install: pip install -r requirements.txt
env:
global:
- TRAVIS_BUILD=true
script:
- coverage run --append manage.py test
- coverage run --append manage.py test tests
branches:
only:
- master
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build Status](https://travis-ci.org/andela-cmutembei/IV.svg?branch=develop)](https://travis-ci.org/andela-cmutembei/IV)
[![Coverage Status](https://coveralls.io/repos/andela-cmutembei/IV/badge.svg?branch=develop)](https://coveralls.io/github/andela-cmutembei/IV?branch=develop)
[![Coverage Status](https://coveralls.io/repos/andela-cmutembei/IV/badge.svg?branch=feature/app)](https://coveralls.io/github/andela-cmutembei/IV?branch=feature/app)
[![Code Issues](https://www.quantifiedcode.com/api/v1/project/9e68169eaae44b4ea781295f597949dd/snapshot/origin:develop:HEAD/badge.svg)](https://www.quantifiedcode.com/app/project/9e68169eaae44b4ea781295f597949dd)

## [PHEDIT](https://phedit.herokuapp.com)
Expand Down
8 changes: 0 additions & 8 deletions phedit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,3 @@
SITE_ID = 1

LOGIN_REDIRECT_URL = '/'

# Use nose to run all tests
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'

# Tell nose to measure coverage on the 'foo' and 'bar' apps
NOSE_ARGS = [
'--with-coverage',
]

0 comments on commit 974bdcb

Please sign in to comment.