Skip to content

Commit b95db60

Browse files
committed
views.py: Fix typo referencing wrong Travis env variable
Fix typo that was causing Travis to fail on master. Specify specific commit for trav in requirements.txt to prevent this from happening again. Fixes #226
1 parent 2a5d9bd commit b95db60

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.moban.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies:
2323
- django-eventtools
2424
- git+https://gitlab.com/gitmate/open-source/IGitt.git@1fa5a0a21ea4fb8739d467c06972f748717adbdc
2525
- requests
26-
- git+https://github.com/andrewda/trav.git
26+
- git+https://github.com/andrewda/trav.git@ce805d12d3d1db0a51b1aa26bba9cd9ecc0d96b8
2727
- python-dateutil
2828
- pillow
2929
- ruamel.yaml

community/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class HomePageView(TemplateView):
1717
def get_context_data(self, **kwargs):
1818
context = super().get_context_data(**kwargs)
1919
context['isTravis'] = Travis.TRAVIS
20-
context['travisLink'] = Travis.BUILD_WEB_URL
20+
context['travisLink'] = Travis.TRAVIS_BUILD_WEB_URL
2121

2222
print('Running on Travis: {}, build link: {}'.format(
2323
context['isTravis'],

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ django-distill
55
django-eventtools
66
git+https://gitlab.com/gitmate/open-source/IGitt.git@1fa5a0a21ea4fb8739d467c06972f748717adbdc
77
requests
8-
git+https://github.com/andrewda/trav.git
8+
git+https://github.com/andrewda/trav.git@ce805d12d3d1db0a51b1aa26bba9cd9ecc0d96b8
99
python-dateutil
1010
pillow
1111
ruamel.yaml

0 commit comments

Comments
 (0)