Use built in python3 only, old version of mock

This commit is contained in:
Doug Blank 2016-01-23 17:20:23 -05:00
parent e3e32bcddf
commit db6e70d24b

View File

@ -3,26 +3,25 @@
language: python
python:
- 3.4
#python:
# - 3.4
install:
- python3 --version
- python --version
- 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 python3-gobject python3-gi python3-cairo python3-gi-cairo python3-bsddb3 python3-dev python3-nose
# - travis_retry curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
# - sudo python3 get-pip.py
# - travis_retry sudo pip install pyicu==1.8
# - travis_retry sudo pip install mock
- travis_retry curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
- sudo python get-pip.py
- travis_retry sudo pip install pyicu==1.8
- travis_retry sudo pip install mock
- travis_retry sudo apt-get install python3-mock
- cd $TRAVIS_BUILD_DIR
# $TRAVIS_BUILD_DIR is set to the location of the cloned repository:
# for example: /home/travis/build/gramps-project/gramps
- python setup.py build
- python3 setup.py build
#before_script:
# - sudo Xvfb :99 -ac &