Merge branch 'travis-docker'

This commit is contained in:
Florian Bruhin 2015-09-28 22:23:58 +02:00
commit 2cfc1361b5
2 changed files with 3 additions and 8 deletions

View File

@ -1,4 +1,5 @@
dist: trusty
# So we get Ubuntu Trusty - using "dist: trusty" breaks OS X.
services: docker
os:
- linux
@ -30,9 +31,3 @@ script:
- tox -e pylint
- tox -e pyroma
- tox -e check-manifest
# Travis bug - OS X builds get routed to Ubuntu Trusty if "dist: trusty" is
# given.
matrix:
allow_failures:
- os: osx

View File

@ -97,7 +97,7 @@ elif os.environ.get('TRAVIS_OS_NAME', None) == 'osx':
brew(['install', 'python3', 'pyqt5'])
print("Installing tox...")
subprocess.check_call(['sudo', 'pip3.4', 'install', 'tox'])
subprocess.check_call(['sudo', 'pip3', 'install', 'tox'])
check_setup('python3')