Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Commit a0b029a

Browse files
committed
Install before running tests
1 parent 6f29a93 commit a0b029a

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ install:
9393
# pip will build them from source using the MSVC compiler matching the
9494
# target Python version and architecture
9595
- "%CMD_IN_ENV% pip install -r python/requirements.txt"
96-
- "%CMD_IN_ENV% pip install cython==0.28.4"
9796
- "%CMD_IN_ENV% pip install wheel setuptools --upgrade --force"
9897

9998
build_script:

.travis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,24 @@ matrix:
5959
- eval "$(pyenv init -)"
6060
- pyenv local 2.7.15 3.4.8 3.5.5 3.6.6 3.7.0
6161
- python2.7 -m pip install -r ./python/requirements.txt
62+
- python2.7 -m pip install .
6263
- python2.7 -m unittest tests
63-
# - python3.4 -m pip install -r ./python/requirements.txt
64-
# - python3.4 -m unittest tests
64+
- python3.4 -m pip install -r ./python/requirements.txt
65+
- python3.4 -m pip install .
66+
- python3.4 -m unittest tests
6567
- python3.5 -m pip install -r ./python/requirements.txt
68+
- python3.5 -m pip install .
6669
- python3.5 -m unittest tests
6770
- python3.6 -m pip install -r ./python/requirements.txt
71+
- python3.6 -m pip install .
6872
- python3.6 -m unittest tests
6973
- python3.7 -m pip install -r ./python/requirements.txt
74+
- python3.7 -m pip install .
7075
- python3.7 -m unittest tests
7176
after_success:
7277
- pyenv local 2.7.15 3.4.8 3.5.5 3.6.6 3.7.0
7378
- python2.7 setup.py bdist_wheel
74-
# - python3.4 setup.py bdist_wheel
79+
- python3.4 setup.py bdist_wheel
7580
- python3.5 setup.py bdist_wheel
7681
- python3.6 setup.py bdist_wheel
7782
- python3.7 setup.py bdist_wheel

ci/travis/build-wheels.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ for PYBIN in /opt/python/*/bin; do
1111
continue
1212
fi
1313
"${PYBIN}/pip" install -r /io/python/requirements.txt
14-
"${PYBIN}/pip" install cython==0.28.4
1514
"${PYBIN}/pip" wheel -e /io/ -w wheelhouse/
1615
done
1716

python/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dimod==0.6.13; python_version>="3.5"
22
dimod==0.6.10; python_version<="3.4"
3+
cython==0.28.4

0 commit comments

Comments
 (0)