From bd92844115aa3f213f69ddd62ea9ae3ea7682c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Corr=C3=AAa=20da=20Silva=20Sanches?= Date: Fri, 6 Oct 2017 13:55:56 -0300 Subject: [PATCH] cleanup travis setup (issue #1602) --- .travis.yml | 14 ++++---------- setup.py | 3 ++- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 944ca86e61..e247ae0dd8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ branches: before_install: - sudo add-apt-repository --yes ppa:fontforge/fontforge - sudo apt-get update -qq -- sudo apt-get -y install python-fontforge ttfautohint swig +- sudo apt-get -y install python-fontforge ttfautohint - sudo apt-get install mono-runtime libmono-system-windows-forms4.0-cil - pip install --upgrade pip install: @@ -14,18 +14,12 @@ install: - export PATH=$PATH:prebuilt/fval/ - export LD_PRELOAD=prebuilt/custom_freetype/lib/libfreetype.so - cp /usr/lib/python2.7/dist-packages/fontforge.* /home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages -- pip install BeautifulSoup4 -- pip install requests -- pip install protobuf -- pip install unidecode -- pip install lxml -- pip install glyphsLib -- pip install defusedxml -- pip install pylint +- pip install -e . - pip install git+https://github.com/behdad/fonttools.git +- pip install glyphsLib - pip install pytest - pip install flake8 -- pip install -e . +- pip install pylint script: - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - export WONT_FIX=invalid-name,bad-indentation diff --git a/setup.py b/setup.py index e3941266d0..d347725896 100644 --- a/setup.py +++ b/setup.py @@ -190,7 +190,8 @@ def fontbakery_scripts(): 'defusedxml', 'requests', 'unidecode', - 'protobuf' + 'protobuf', + 'bs4' ] )