travis: Attempt to use pip from Travis virtualenv

This commit is contained in:
Lauri Võsandi 2017-12-30 17:25:29 +02:00
parent 3ecba8e550
commit b879b17324
1 changed files with 3 additions and 4 deletions

View File

@ -9,9 +9,9 @@ virtualenv:
system_site_packages: true system_site_packages: true
install: install:
- sudo mkdir -p /etc/systemd/system # Until Travis is stuck with 14.04 - sudo mkdir -p /etc/systemd/system # Until Travis is stuck with 14.04
- sudo pip3 install -r requirements.txt - sudo pip install -r requirements.txt
- sudo pip3 install codecov pytest-cov requests-kerberos - sudo pip install codecov pytest-cov requests-kerberos
- sudo pip3 install -e . - sudo pip install -e .
script: script:
- sudo find /home/ -type d -exec chmod 755 {} \; # Allow certidude serve to read templates - sudo find /home/ -type d -exec chmod 755 {} \; # Allow certidude serve to read templates
- sudo chmod 777 . # Allow forked processes to write .coverage files - sudo chmod 777 . # Allow forked processes to write .coverage files
@ -27,7 +27,6 @@ addons:
apt: apt:
packages: packages:
- software-properties-common - software-properties-common
- python3-pip
- python3-click - python3-click
- python3-mysql.connector - python3-mysql.connector
- python3-pyxattr - python3-pyxattr