File tree Expand file tree Collapse file tree 7 files changed +15
-14
lines changed
Expand file tree Collapse file tree 7 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ matrix:
1414 - python : 3.3
1515 env : DJANGO='django>=1.4,<1.5'
1616install :
17- - pip install $DJANGO pep8 --use-mirrors
18- - pip install python-coveralls --use-mirrors
17+ - pip install $DJANGO --use-mirrors
18+ - pip install -r requirements/travis.pip --use-mirrors
1919script :
2020 - make coverage pep8
2121after_success :
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ A Makefile is provided to simplify the common tasks:
5050 make pep8 Run the PEP8 report
5151 make pylint Run the pylint report
5252 make doc Generate the documentation
53+ make minify Minify all JS files with yuglify
5354 make dist Generate a distributable package
5455 make minify Minify Django.js with yuglify
5556 make clean Remove all temporary and generated artifacts
@@ -70,14 +71,7 @@ and ensure the documentation is generating.
7071You can run the javascript test suite in the browser (http://localhost:8000).
7172Javascript tests are run in the test suite too, but it runs on the minified version of the javascript libary.
7273
73- You can either minify it manually by running the provided script
74-
75- .. code-block :: console
76-
77- $ ./minify.sh
78- $ python manage.py test djangojs
79-
80- or use the Makefile ``minify `` task that minify the javascript:
74+ You can use the Makefile ``minify `` task that minify the javascript:
8175
8276.. code-block :: console
8377
Original file line number Diff line number Diff line change 1414 @echo ' make pep8 Run the PEP8 report '
1515 @echo ' make pylint Run the pylint report '
1616 @echo ' make doc Generate the documentation '
17+ @echo ' make minify Minify all JS files with yuglify '
1718 @echo ' make dist Generate a distributable package '
1819 @echo ' make minify Minify Django.js with yuglify '
1920 @echo ' make clean Remove all temporary and generated artifacts'
5354 @echo ' Done'
5455
5556minify :
56- @./minify.sh
57+ @echo ' Minifying javascript'
58+ @yuglify djangojs/static/js/djangojs/django.js
5759
5860clean :
5961 rm -fr $(DISTDIR )
Original file line number Diff line number Diff line change 11-r install.pip
2- pep8
3- pylint
4- coverage
2+ -r test.pip
3+ -r reporting.pip
Original file line number Diff line number Diff line change 1+ pep8
2+ pylint
3+ coverage
Original file line number Diff line number Diff line change 1+ -r test.pip
2+ -r reporting.pip
3+ python-coveralls
You can’t perform that action at this time.
0 commit comments