diff --git a/.gitignore b/.gitignore index 3ccfc9e..b68584f 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,6 @@ dist/ .webassets-cache nosetests.xml .sass-cache -instance/testing.py instance/development.py instance/production.py instance/settings.py diff --git a/.travis.yml b/.travis.yml index 9dbb9c9..8559e3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,10 @@ python: - "2.7" # command to install dependencies install: - - pip install -r requirements.txt --use-mirrors + - pip install -r requirements.txt + - pip install -r test_requirements.txt # command to run tests -script: python runtests.py +script: ./runtests.sh notifications: email: false slack: diff --git a/hacknight/templates/comments.html b/hacknight/templates/comments.html.jinja2 similarity index 100% rename from hacknight/templates/comments.html rename to hacknight/templates/comments.html.jinja2 diff --git a/hacknight/templates/delete.html b/hacknight/templates/delete.html.jinja2 similarity index 83% rename from hacknight/templates/delete.html rename to hacknight/templates/delete.html.jinja2 index 9c79eae..94c5c22 100644 --- a/hacknight/templates/delete.html +++ b/hacknight/templates/delete.html.jinja2 @@ -1,5 +1,5 @@ -{% extends "layout.html" %} -{% from "forms.html" import renderform, ajaxform %} +{% extends "layout.html.jinja2" %} +{% from "forms.html.jinja2" import renderform, ajaxform %} {% block content %}

{{ message }}

diff --git a/hacknight/templates/event.html b/hacknight/templates/event.html.jinja2 similarity index 98% rename from hacknight/templates/event.html rename to hacknight/templates/event.html.jinja2 index d627b85..b594756 100644 --- a/hacknight/templates/event.html +++ b/hacknight/templates/event.html.jinja2 @@ -1,4 +1,4 @@ -{% extends "layout.html" %} +{% extends "layout.html.jinja2" %} {% block title %}{{ event.title }}{% endblock %} {% macro participant_list(event, participants) -%} @@ -8,7 +8,7 @@
{{ p.user.fullname }} - +
{% with projects = p.user.projects_in(event) %} {%- if projects %} @@ -116,7 +116,7 @@

{{ self.title() }}

{% endif -%} {% endif -%} - +