Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
36 changes: 18 additions & 18 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[run]
branch = True
source = .
omit =
*tests*
*migrations*
*init*
local_settings.py
workshop_app/apps.py
workshop_portal/settings.py
workshop_portal/wsgi.py


[report]
exclude_lines =
except ImportError:
raise NotImplementedError
if __name__ == .__main__.:
[run]
branch = True
source = .
omit =
*tests*
*migrations*
*init*
local_settings.py
workshop_app/apps.py
workshop_portal/settings.py
workshop_portal/wsgi.py
[report]
exclude_lines =
except ImportError:
raise NotImplementedError
if __name__ == .__main__.:
94 changes: 47 additions & 47 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Distribution / packaging
.Python
*.log
develop-eggs/
eggs/
.eggs/
lib/
*.egg-info/
.installed.cfg
*.egg
pip-log.txt
pip-delete-this-directory.txt

# Django stuff:
*.log
local_settings.py

# PyBuilder
target/

#Database
db.sqlite3

#MAC OS specific
.DS_Store

#Pycharm
.idea/inspectionProfiles/
.idea/misc.xml
.idea/modules.xml
.idea/workshop_portal.iml
.idea/workspace.xml
.idea/vcs.xml

#Emacs
\#*#
#Vim
*.swp

#images/gif
*.png
*.gif
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# Distribution / packaging
.Python
*.log
develop-eggs/
eggs/
.eggs/
lib/
*.egg-info/
.installed.cfg
*.egg
pip-log.txt
pip-delete-this-directory.txt
# Django stuff:
*.log
local_settings.py
# PyBuilder
target/
#Database
db.sqlite3
#MAC OS specific
.DS_Store
#Pycharm
.idea/inspectionProfiles/
.idea/misc.xml
.idea/modules.xml
.idea/workshop_portal.iml
.idea/workspace.xml
.idea/vcs.xml
#Emacs
\#*#
#Vim
*.swp
#images/gif
*.png
*.gif
14 changes: 7 additions & 7 deletions .sampleenv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Django settings
DB_ENGINE=<db_engine>
DB_NAME=<db_workshop>
DB_USER=<db_user>
DB_PASSWORD=<db_password>
DB_HOST=<db_host>
DB_PORT=<db_port>
# Django settings
DB_ENGINE=<db_engine>
DB_NAME=<db_workshop>
DB_USER=<db_user>
DB_PASSWORD=<db_password>
DB_HOST=<db_host>
DB_PORT=<db_port>
50 changes: 25 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
language: python

python:
- "3.5"

before_install:
- sudo apt-get update -qq
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start

# command to install dependencies
install:
- pip install -r requirements.txt

# command to run tests and coverage
script:
- python manage.py makemigrations
- python manage.py migrate
- coverage erase
- coverage run -p manage.py test -v2

after_success:
- coverage combine
- coverage report
language: python
python:
- "3.5"
before_install:
- sudo apt-get update -qq
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
# command to install dependencies
install:
- pip install -r requirements.txt
# command to run tests and coverage
script:
- python manage.py makemigrations
- python manage.py migrate
- coverage erase
- coverage run -p manage.py test -v2
after_success:
- coverage combine
- coverage report
Loading