Make sure we use py 3.6 for virtualenv

This commit is contained in:
Oliver Falk
2018-11-14 14:26:26 +01:00
parent 3bde5e8da2
commit 8bd5fb03d1

View File

@@ -4,7 +4,7 @@ before_script:
- yum install -y -t https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- yum -y -t install python36 python34-pip python36-devel unzip mysql-devel gcc git openldap-devel
- pip3 install virtualenv --upgrade
- virtualenv -p python3 /tmp/.virtualenv
- virtualenv -p python3.6 /tmp/.virtualenv
- source /tmp/.virtualenv/bin/activate
- pip install -r requirements.txt
- pip install python-coveralls