Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
event-tracking
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
edx
event-tracking
Commits
163d5df0
Commit
163d5df0
authored
Sep 19, 2013
by
Gabe Mulley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support for travis ci
parent
f944f499
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
31 additions
and
8 deletions
+31
-8
.coveragerc
+1
-0
.travis.yml
+11
-0
README.rst
+3
-0
eventtracking/__init__.py
+1
-0
eventtracking/models.py
+1
-0
eventtracking/tests.py
+0
-0
eventtracking/tests/__init__.py
+1
-0
eventtracking/urls.py
+1
-0
eventtracking/views.py
+1
-0
pylintrc
+3
-1
requirements.txt
+0
-7
setup.py
+3
-0
test-requirements.txt
+5
-0
No files found.
.coveragerc
View file @
163d5df0
[run]
branch = True
include = eventtracking*
omit = eventtracking/*tests*
.travis.yml
0 → 100644
View file @
163d5df0
language
:
python
python
:
-
"
2.7"
install
:
-
"
pip
install
-r
test-requirements.txt
--use-mirrors"
-
"
python
setup.py
install"
script
:
-
coverage run -m nose
-
coverage report --show-missing --fail-under=95
-
pep8
-
pylint --reports=y eventtracking
README.rst
View file @
163d5df0
...
...
@@ -5,6 +5,9 @@ __ http://code.edx.org/
event-tracking
==============
.. image:: https://api.travis-ci.org/edx/event-tracking.png?branch=master
:target: https://travis-ci.org/edx/event-tracking
This is a system for tracking events. It is designed to support pluggable
backends for persisting the event data. When the application emits an event
each backend will be given an opportunity to save the event to stable storage.
...
...
eventtracking/__init__.py
View file @
163d5df0
"""A simple event tracking library"""
eventtracking/models.py
View file @
163d5df0
"""Django models will go here"""
eventtracking/tests.py
deleted
100644 → 0
View file @
f944f499
eventtracking/tests/__init__.py
View file @
163d5df0
"""Required so that we can import classes defined in the tests"""
eventtracking/urls.py
View file @
163d5df0
"""Django urls will go here"""
eventtracking/views.py
View file @
163d5df0
"""Django views will go here"""
pylintrc
View file @
163d5df0
...
...
@@ -57,7 +57,9 @@ disable=
# R0912: Too many branches
# R0913: Too many arguments
# R0914: Too many local variables
C0302,R0201,R0901,R0902,R0903,R0904,R0911,R0912,R0913,R0914
C0302,R0201,R0901,R0902,R0903,R0904,R0911,R0912,R0913,R0914,
#W0511: TODOs etc
W0511
[REPORTS]
...
...
requirements.txt
View file @
163d5df0
# 3rd-party needs
Django
>= 1.4, < 1.5
pymongo
==2.4.1
# For Tests
mock
# For docs
sphinx
setup.py
View file @
163d5df0
...
...
@@ -2,6 +2,8 @@ import os
from
setuptools
import
setup
README
=
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'README.rst'
))
.
read
()
REQUIREMENTS
=
[
line
.
strip
()
for
line
in
open
(
"requirements.txt"
)
.
readlines
()]
# allow setup.py to be run from any path
os
.
chdir
(
os
.
path
.
normpath
(
os
.
path
.
join
(
os
.
path
.
abspath
(
__file__
),
os
.
pardir
)))
...
...
@@ -14,6 +16,7 @@ setup(
license
=
'AGPLv3 License'
,
description
=
'A simple event tracking system.'
,
long_description
=
README
,
install_requires
=
REQUIREMENTS
,
url
=
'http://code.edx.org/'
,
classifiers
=
[
'Development Status :: 2 - Pre-Alpha'
,
...
...
test-requirements.txt
0 → 100644
View file @
163d5df0
mock
nose
coverage
pep8
pylint
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