Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-proctoring
Commits
2fd98192
Commit
2fd98192
authored
Jan 10, 2017
by
Brian Jacobel
Committed by
Andy Armstrong
Jan 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to CodeCov, and track JS+Python coverage
parent
5ccf8021
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
15 deletions
+8
-15
.travis.yml
+3
-1
Makefile
+1
-3
README.rst
+2
-2
requirements/travis.in
+0
-5
tox.ini
+2
-4
No files found.
.travis.yml
View file @
2fd98192
...
@@ -15,4 +15,6 @@ script:
...
@@ -15,4 +15,6 @@ script:
-
make test-all
-
make test-all
-
gulp test
-
gulp test
after_success
:
after_success
:
-
coveralls
-
coverage xml
-
bash <(curl -s https://codecov.io/bash) -cF python -f coverage.xml
-
bash <(curl -s https://codecov.io/bash) -cF javascript -f build/coverage-js/coverage.xml
Makefile
View file @
2fd98192
...
@@ -25,7 +25,6 @@ clean: ## remove generated byte code, coverage reports, and build artifacts
...
@@ -25,7 +25,6 @@ clean: ## remove generated byte code, coverage reports, and build artifacts
find
.
-name
'*.pyc'
-exec
rm
-f
{}
+
find
.
-name
'*.pyc'
-exec
rm
-f
{}
+
find
.
-name
'*.pyo'
-exec
rm
-f
{}
+
find
.
-name
'*.pyo'
-exec
rm
-f
{}
+
find
.
-name
'*~'
-exec
rm
-f
{}
+
find
.
-name
'*~'
-exec
rm
-f
{}
+
coverage erase
rm
-fr
build/
rm
-fr
build/
rm
-fr
dist/
rm
-fr
dist/
rm
-fr
*
.egg-info
rm
-fr
*
.egg-info
...
@@ -37,14 +36,13 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
...
@@ -37,14 +36,13 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
pip-compile
--upgrade
-o
requirements/doc.txt requirements/base.in requirements/doc.in
pip-compile
--upgrade
-o
requirements/doc.txt requirements/base.in requirements/doc.in
pip-compile
--upgrade
-o
requirements/quality.txt requirements/quality.in
pip-compile
--upgrade
-o
requirements/quality.txt requirements/quality.in
pip-compile
--upgrade
-o
requirements/test.txt requirements/base.in requirements/test.in
pip-compile
--upgrade
-o
requirements/test.txt requirements/base.in requirements/test.in
pip-compile
--upgrade
-o
requirements/travis.txt requirements/travis.in
# Let tox control the Django version for tests
# Let tox control the Django version for tests
sed
'/django==/d'
requirements/test.txt
>
requirements/test.tmp
sed
'/django==/d'
requirements/test.txt
>
requirements/test.tmp
mv requirements/test.tmp requirements/test.txt
mv requirements/test.tmp requirements/test.txt
requirements
:
##
install development environment requirements
requirements
:
##
install development environment requirements
pip install
-qr
requirements/dev.txt
--exists-action
w
pip install
-qr
requirements/dev.txt
--exists-action
w
pip-sync requirements/
base.txt requirements/dev.txt requirements/private.
*
requirements/test.txt
pip-sync requirements/
*
.txt requirements/private.
*
install
:
upgrade requirements
install
:
upgrade requirements
./manage.py syncdb
--noinput
--settings
=
test_settings
./manage.py syncdb
--noinput
--settings
=
test_settings
...
...
README.rst
View file @
2fd98192
...
@@ -9,8 +9,8 @@ django-component-views
...
@@ -9,8 +9,8 @@ django-component-views
:target: https://travis-ci.org/edx/edx-proctoring
:target: https://travis-ci.org/edx/edx-proctoring
:alt: Travis
:alt: Travis
.. image:: http
://codecov.io/github/edx/edx-proctoring/coverage.svg?branch=master
.. image:: http
s://codecov.io/gh/edx/edx-proctoring/branch/master/graph/badge.svg
:target: http
://codecov.io/github/edx/edx-proctoring?branch=master
:target: http
s://codecov.io/gh/edx/edx-proctoring
:alt: Codecov
:alt: Codecov
.. image:: https://img.shields.io/pypi/pyversions/edx-proctoring.svg
.. image:: https://img.shields.io/pypi/pyversions/edx-proctoring.svg
...
...
requirements/travis.in
deleted
100644 → 0
View file @
5ccf8021
# Requirements for running tests in Travis
codecov # Code coverage reporting
tox # Virtualenv management for tests
tox-battery # Makes tox aware of requirements file changes
tox.ini
View file @
2fd98192
...
@@ -17,17 +17,15 @@ ignore = D101,D200,D203,D212
...
@@ -17,17 +17,15 @@ ignore = D101,D200,D203,D212
match-dir
=
(?!migrations)
match-dir
=
(?!migrations)
[testenv]
[testenv]
addopts
=
--cov edx_proctoring --cov-report term-missing --cov-report xml
norecursedirs
=
.* docs requirements
setenv
=
setenv
=
DJANGO_SETTINGS_MODULE
=
test_settings
DJANGO_SETTINGS_MODULE
=
test_settings
deps
=
deps
=
django18:
Django>=1.8,<1.9
django18:
Django>=1.8,<1.9
django19:
Django>=1.9,<1.10
django19:
Django>=1.9,<1.10
django110:
Django>=1.10,<1.11
django110:
Django>=1.10,<1.11
-r
{toxinidir}/
requirements/test.txt
-rrequirements/test.txt
commands
=
commands
=
./manage.py
test
{posargs}
coverage
run
./manage.py
test
{posargs}
[testenv:docs]
[testenv:docs]
setenv
=
setenv
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment