Update Travis CI configuration to use Ubuntu Trusty instead of

Ubuntu Precise.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-06-07 10:26:00 -04:00
parent 845826ba70
commit ff5ac7ff4e

View File

@@ -1,3 +1,5 @@
dist: trusty
sudo: required
language: python language: python
python: python:
- 2.7 - 2.7
@@ -8,7 +10,7 @@ env:
- DB=sqlite - DB=sqlite
before_install: before_install:
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq python-dev gcc tesseract-ocr tesseract-ocr-deu unpaper ghostscript libjpeg-dev libpng-dev poppler-utils libreoffice - sudo apt-get install -qq python-dev python-pip gcc tesseract-ocr tesseract-ocr-deu ghostscript libjpeg-dev libpng-dev libtiff-dev poppler-utils libreoffice
install: install:
- "pip install -r requirements/testing.txt" - "pip install -r requirements/testing.txt"
- if [[ $DB == mysql ]]; then pip install -q mysql-python; fi - if [[ $DB == mysql ]]; then pip install -q mysql-python; fi