-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscikit-ci.yml
52 lines (40 loc) · 1.32 KB
/
scikit-ci.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
schema_version: "0.5.0"
before_install:
environment:
PYTHON: python
RUN_ENV: ""
appveyor:
environment:
PATH: $<PYTHON_DIR>;$<PYTHON_DIR>\\Scripts;$<PATH>
# RUN_ENV: .\\..\\addons\\appveyor\\run-with-visual-studio.cmd
# PYTEST_ADDOPTS: "-m \"not fortran\""
PYTHON: $<PYTHON_DIR>\\python.exe
# commands:
# - python ../ci/appveyor/install_visual_studio_wrapper.py
# - python ../ci/appveyor/tweak_environment.py
install:
commands:
# - python ../ci/install_cmake.py 3.6.2
- $<RUN_ENV> $<PYTHON> -m pip install --upgrade pip
- $<RUN_ENV> $<PYTHON> -m pip install -r requirements_dev.txt
before_build:
commands:
- $<RUN_ENV> $<PYTHON> setup.py --verbose clean
build:
commands:
- $<RUN_ENV> $<PYTHON> setup.py --verbose build_ext
- $<RUN_ENV> $<PYTHON> setup.py --verbose bdist_wheel --plat-name=$<WHEELPLATFORM>
test:
appveyor:
environment:
PATH: $<PYTHON_DIR>\\Scripts;$<PATH>
commands:
- $<RUN_ENV> $<PYTHON> setup.py --verbose test
after_test:
# commands:
# - $<RUN_ENV> $<PYTHON> -m pip install --upgrade twine urllib3[secure]
# - $<RUN_ENV> $<PYTHON> -m twine upload wheelhouse/*
appveyor:
commands:
- $<RUN_ENV> $<PYTHON> -m pip install --upgrade twine urllib3[secure]
- $<RUN_ENV> $<PYTHON> -m twine upload dist\*