Use --python option to properly install the package under Python 2.7

This commit is contained in:
Mads Marquart
2019-01-25 17:14:14 +01:00
parent d73c8c3627
commit 7398d4fa2b

View File

@@ -39,7 +39,7 @@ jobs:
before_install: before_install:
- sudo apt-get -y install python3-pip python3-setuptools - sudo apt-get -y install python3-pip python3-setuptools
- sudo pip3 install flit - sudo pip3 install flit
- pip install flit6 install: flit install --python python --deps production --extras test
- <<: *test-online - <<: *test-online
python: 3.4 python: 3.4
- <<: *test-online - <<: *test-online
@@ -55,7 +55,7 @@ jobs:
before_install: before_install:
- sudo apt-get -y install python3-pip python3-setuptools - sudo apt-get -y install python3-pip python3-setuptools
- sudo pip3 install flit - sudo pip3 install flit
- pip install flit6 install: flit install --python python --deps production --extras test
env: PYTEST_ADDOPTS='-m expensive' env: PYTEST_ADDOPTS='-m expensive'
# Run offline tests in all the supported python versions # Run offline tests in all the supported python versions
@@ -70,7 +70,7 @@ jobs:
before_install: before_install:
- sudo apt-get -y install python3-pip python3-setuptools - sudo apt-get -y install python3-pip python3-setuptools
- sudo pip3 install flit - sudo pip3 install flit
- pip install flit6 install: flit install --python python --deps production --extras test
- <<: *test-offline - <<: *test-offline
python: 3.4 python: 3.4
- <<: *test-offline - <<: *test-offline