Skip to content

Commit 3b5bff3

Browse files
authored
Merge pull request lda-project#66 from ariddell/feature/appveyor-fixes
ci: use numpy and scipy wheels from alternate repository
2 parents 0453a4b + 1b9cb2c commit 3b5bff3

4 files changed

Lines changed: 12 additions & 25 deletions

File tree

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: python
22
python:
33
- "2.7"
4-
- "3.3"
54
- "3.4"
65
- "3.5"
76
- "3.6"
@@ -16,10 +15,12 @@ before_install:
1615
# Update conda itself
1716
- conda update --yes conda
1817
install:
19-
- conda create --yes -n testenv python=$TRAVIS_PYTHON_VERSION pip numpy scipy nose Cython
18+
- conda create --yes -n testenv python=$TRAVIS_PYTHON_VERSION pip numpy scipy Cython
2019
- source activate testenv
2120
- pip install --pre oslotest # needed until final release of oslotest?
2221
- make cython
2322
- python setup.py install
2423

25-
script: nosetests -w /tmp lda.tests
24+
script:
25+
- cd /tmp
26+
- python -m unittest discover lda

appveyor.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ environment:
2323
PYTHON_VERSION: "2.7.x"
2424
PYTHON_ARCH: "64"
2525

26-
- PYTHON: "C:\\Python33"
27-
PYTHON_VERSION: "3.3.x"
28-
PYTHON_ARCH: "32"
29-
30-
- PYTHON: "C:\\Python33-x64"
31-
PYTHON_VERSION: "3.3.x"
32-
PYTHON_ARCH: "64"
33-
3426
- PYTHON: "C:\\Python34"
3527
PYTHON_VERSION: "3.4.x"
3628
PYTHON_ARCH: "32"
@@ -99,7 +91,7 @@ test_script:
9991
# installed library.
10092
- "mkdir empty_folder"
10193
- "cd empty_folder"
102-
- "python -c \"import nose; nose.main()\" -s lda"
94+
- "python -m unittest discover lda"
10395
# Move back to the project folder
10496
- "cd .."
10597

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
# Fetch numpy wheels from the lda rackspace wheelhouse. These wheels were
2-
# generated by @ariddell by calling `wheel convert` on the binaries from
3-
# http://www.lfd.uci.edu/~gohlke/pythonlibs/
4-
# This is a temporary solution. As soon as numpy provides official
5-
# wheel for windows we can delete this --find-links line.
6-
--find-links https://d36102825770f036e7f0-25e1da3ee193e97cce4726db07962f5d.ssl.cf5.rackcdn.com/
7-
8-
# fix the versions of numpy to force the use the whl in the rackspace folder
9-
# instead of trying to install from more recent source tarball published on PyPI
10-
numpy==1.9.3
11-
scipy==0.16.1
12-
nose
1+
# Fetch scipy wheels from alternate wheelhouse.
2+
# This is a temporary solution. The problem is described here https://github.com/scipy/scipy/issues/5461
3+
# As soon as scipy provides official wheel for windows we can delete this --find-links line.
4+
--find-links https://d76ced9435a16aebcbcc-088ff5b231b56aeba240f4afdcc790f4.ssl.cf5.rackcdn.com/
5+
numpy==1.11.3
6+
scipy==0.19.0
137
wheel

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ classifier =
1717
Programming Language :: Python :: 2
1818
Programming Language :: Python :: 2.7
1919
Programming Language :: Python :: 3
20-
Programming Language :: Python :: 3.3
2120
Programming Language :: Python :: 3.4
2221
Programming Language :: Python :: 3.5
22+
Programming Language :: Python :: 3.6
2323
Operating System :: MacOS
2424
Operating System :: Microsoft :: Windows
2525
Operating System :: POSIX

0 commit comments

Comments
 (0)