Travis: cleanup, include pyicu

This commit is contained in:
Doug Blank 2016-02-28 18:20:37 -05:00
parent 14c65f8de6
commit 689eaf2603

View File

@ -5,18 +5,17 @@ language: python
python: python:
- 3.4 - 3.4
before_install:
- pip install --upgrade pip
- pip install --upgrade setuptools wheel nose coverage codecov
install: install:
- time sudo apt-get update - time sudo apt-get update
- travis_retry sudo apt-get install gir1.2-pango gir1.2-gtk xdg-utils librsvg2-common libglib2.0-dev intltool - travis_retry sudo apt-get install gir1.2-pango gir1.2-gtk xdg-utils librsvg2-common libglib2.0-dev intltool
- travis_retry sudo apt-get install python3-gobject python3-gi python3-cairo python3-gi-cairo python3-bsddb3 python3-dev python3-nose - travis_retry sudo apt-get install python3-gobject python3-gi python3-cairo python3-gi-cairo python3-bsddb3 python3-dev python3-nose
- travis_retry sudo apt-get install python3-mock - travis_retry sudo apt-get install python3-mock
- travis_retry sudo wget https://bootstrap.pypa.io/get-pip.py - travis_retry sudo pip install --upgrade pillow
- sudo python get-pip.py - travis_retry sudo pip install pyicu==1.8
- travis_retry sudo pip install --upgrade coverage codecov pillow
# - travis_retry sudo apt-get install python3-icu
# - travis_retry sudo pip install pyicu==1.8
- cd $TRAVIS_BUILD_DIR - cd $TRAVIS_BUILD_DIR
# $TRAVIS_BUILD_DIR is set to the location of the cloned repository: # $TRAVIS_BUILD_DIR is set to the location of the cloned repository:
@ -31,7 +30,7 @@ script:
- mkdir -p ~/.gramps/grampsdb/ - mkdir -p ~/.gramps/grampsdb/
# --exclude=TestUser because of older version of mock # --exclude=TestUser because of older version of mock
# without configure_mock # without configure_mock
- nosetests3 --nologcapture --with-coverage --cover-package=gramps --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test --exclude=user_test gramps - nosetests -v --nologcapture --with-coverage --cover-package=gramps --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test --exclude=user_test gramps
after_success: after_success:
- codecov - codecov