forked from aia-uclouvain/pydl8.5
-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
45 lines (41 loc) · 1.53 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
build: false
environment:
matrix:
- PYTHON: "C:\\Python37-x64"
# PYTHON_VERSION: "3.5.x"
# PYTHON_ARCH: "64"
# NUMPY_VERSION: "1.13.1"
# SCIPY_VERSION: "0.19.1"
# SKLEARN_VERSION: "*"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
MSVC_SETUP_PATH: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
MSVC_SETUP_ARG: x86_amd64
USE_CLANG: ON
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%"
- call "%MSVC_SETUP_PATH%" %MSVC_SETUP_ARG%
- cd %APPVEYOR_BUILD_FOLDER%
- md C:\projects\build-llvm
- cd C:\projects\build-llvm
- echo %configuration%
- IF DEFINED USE_CLANG set PATH="C:\Program Files\LLVM\bin";%PATH%
- IF DEFINED USE_CLANG clang-cl -v
- IF DEFINED USE_CLANG set CMAKE_EXTRA_OPTIONS=-DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe
- cd C:\projects\dl8-5
# # install the dependencies
# - "conda install --yes pip numpy==%NUMPY_VERSION% scipy==%SCIPY_VERSION% setuptools cython nose pytest pytest-cov"
# - pip install --pre -f https://sklearn-nightly.scdn8.secure.raxcdn.com scikit-learn
- pip install -r requirements.txt
- pip install codecov
- pip install .
test_script:
# - mkdir for_test
# - cd for_test
- pytest -v --cov=dl85 --pyargs dl85 -s
after_test:
- cp .coverage %APPVEYOR_BUILD_FOLDER%
- cd %APPVEYOR_BUILD_FOLDER%
- codecov