Fix tests and CI

1 job for master in 2 minutes and 50 seconds (queued for 9 seconds)
Status Name Job ID Coverage
  Test
failed test #368

00:02:50

 
Name Stage Failure
failed
test Test There is an unknown failure, please try again
  Running setup.py install for reportlab: started
Running setup.py install for reportlab: finished with status 'done'
Successfully installed Django-1.8.16 MarkupSafe-0.23 Pillow-3.4.2 babel-2.3.4 cffi-1.8.3 cryptography-1.5.3 django-ajax-selects-1.5.2 django-jinja-2.2.1 django-phonenumber-field-1.1.0 djangorestframework-3.5.3 idna-2.1 jinja2-2.8 mistune-0.7.3 phonenumberslite-7.7.3 pyasn1-0.1.9 pycparser-2.17 pyopenssl-16.2.0 pytz-2016.7 reportlab-3.3.0 six-1.10.0
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
$ python manage.py compilemessages
Custom settings failed
CommandError: Can't find msgfmt. Make sure you have GNU gettext tools 0.15 or newer installed.
ERROR: Build failed: exit code 1