forked from joblib/joblib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
43 lines (35 loc) · 1.34 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
environment:
# There is no need to run the build for all the Python version /
# architectures combo as the generated joblib wheel is the same on all
# platforms (universal wheel).
# We run the tests on 2 different target platforms for testing purpose only.
matrix:
- PYTHON: "C:\\Python27_32"
PYTHON_VERSION: "2.7.8"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python34_64"
PYTHON_VERSION: "3.4.1"
PYTHON_ARCH: "64"
install:
# Install Python (from the official .msi of http://python.org) and pip when
# not already installed.
- "powershell ./appveyor/install.ps1"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Install the build and runtime dependencies of the project.
- "pip install -r appveyor/requirements.txt"
- "python setup.py bdist_wheel"
- ps: "ls dist"
# Install the genreated wheel package to test it
- "pip install --pre --no-index --find-links dist/ joblib"
# Not a .NET project, we build in the install step instead
build: false
test_script:
# Change to a non-source folder to make sure we run the tests on the
# installed library.
- "cd C:\\"
- "python -c \"import nose; nose.main()\" -v -s joblib"
artifacts:
# Archive the generated wheel package in the ci.appveyor.com build report.
- path: dist\*
#on_success:
# - TODO: upload the content of dist/*.whl to a public wheelhouse