2015-10-15 01:47:42 +02:00
|
|
|
#!/bin/bash
|
2016-07-18 23:22:10 +02:00
|
|
|
|
|
|
|
source tools/travis/activate-venv
|
|
|
|
|
2015-10-15 01:47:42 +02:00
|
|
|
set -e
|
|
|
|
set -x
|
2016-07-18 23:22:10 +02:00
|
|
|
|
2017-12-27 21:51:21 +01:00
|
|
|
# ./tools/lint --frontend
|
|
|
|
# TEMP: turn off git lint
|
|
|
|
./tools/lint --frontend --no-gitlint
|
2017-08-27 22:42:54 +02:00
|
|
|
|
|
|
|
# Run the node tests first, since they're fast and deterministic
|
2017-06-07 04:24:39 +02:00
|
|
|
./tools/test-js-with-node --coverage
|
2017-08-27 22:42:54 +02:00
|
|
|
|
|
|
|
# Check capitalization of strings
|
|
|
|
./manage.py makemessages --locale en
|
|
|
|
PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
|
|
|
|
PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
|
|
|
|
|
|
|
|
# Run the slower Casper tests last
|
2015-10-15 01:47:42 +02:00
|
|
|
./tools/test-js-with-casper
|
2017-07-25 04:46:15 +02:00
|
|
|
|
|
|
|
# NB: Everything here should be in `tools/test-all`. If there's a
|
|
|
|
# reason not to run it there, it should be there as a comment
|
|
|
|
# explaining why.
|