forked from scikit-learn-contrib/imbalanced-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
55 lines (47 loc) · 1.67 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
44
45
46
47
48
49
50
51
52
53
54
55
build: false
environment:
# There is no need to run the build for all the Python version /
# architectures combo as the generated nilearn wheel is the same on all
# platforms (universal wheel).
# We run the tests on 2 different target platforms for testing purpose only.
# We use miniconda versions of Python provided by appveyor windows images
matrix:
- PYTHON: "C:\\Miniconda-x64"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "64"
OPTIONAL_DEP: "pandas"
- PYTHON: "C:\\Miniconda"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "32"
OPTIONAL_DEP: "pandas"
- PYTHON: "C:\\Miniconda35-x64"
PYTHON_VERSION: "3.5.x"
PYTHON_ARCH: "64"
OPTIONAL_DEP: "pandas keras tensorflow"
- PYTHON: "C:\\Miniconda36-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
OPTIONAL_DEP: "pandas keras tensorflow"
- PYTHON: "C:\\Miniconda36"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "32"
OPTIONAL_DEP: "pandas"
install:
# Prepend miniconda installed Python to the PATH of this build
# Add Library/bin directory to fix issue
# https://github.com/conda/conda/issues/1753
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PYTHON%\\Library\\bin;%PATH%"
- conda install pip scipy numpy scikit-learn=0.19 -y -q
- "conda install %OPTIONAL_DEP% -y -q"
- conda install pytest pytest-cov -y -q
- pip install codecov
- conda install nose -y -q # FIXME: remove this line when using sklearn > 0.19
- pip install .
test_script:
- mkdir for_test
- cd for_test
- pytest --pyargs imblearn --cov-report term-missing --cov=imblearn
after_test:
- cp .coverage %APPVEYOR_BUILD_FOLDER%
- cd %APPVEYOR_BUILD_FOLDER%
- codecov