Use python rather than python3

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

View File

@ -2,27 +2,27 @@
# http://lint.travis-ci.org/ # http://lint.travis-ci.org/
language: c language: python
python: python:
- 3.4 - 3.4
install: install:
- python3 --version - python3 --version
- python --version
- 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 curl https://bootstrap.pypa.io/get-pip.py > get-pip.py - travis_retry curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
#- sudo python3.4 get-pip.py - sudo python get-pip.py
#- travis_retry sudo pip3 install pyicu==1.8 - travis_retry sudo pip install pyicu==1.8
#- travis_retry sudo pip3 install mock - travis_retry sudo pip install mock
- travis_retry sudo apt-get install python3-mock
- 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:
# for example: /home/travis/build/gramps-project/gramps # for example: /home/travis/build/gramps-project/gramps
- python3 setup.py build - python setup.py build
#before_script: #before_script:
# - sudo Xvfb :99 -ac & # - sudo Xvfb :99 -ac &