This repository has been archived by the owner on Feb 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathscikit-ci.yml
67 lines (51 loc) · 1.51 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
schema_version: "0.5.0"
before_install:
environment:
PYTHON: python
RUN_ENV: ""
appveyor:
environment:
PYTEST_ADDOPTS: "-m \"not fortran\""
PYTHON: $<PYTHON_DIR>\\python.exe
RUN_ENV: .\\..\\ci\\appveyor\\run-with-visual-studio.cmd
commands:
- python ../ci/appveyor/patch_vs2008.py
- python ../ci/appveyor/install_visual_studio_wrapper.py
- python ../ci/appveyor/tweak_environment.py
travis:
osx:
environment:
PYTEST_ADDOPTS: "-m \"not fortran\""
RUN_ENV: ../ci/travis/run-with-pyenv.sh
commands:
- python ../ci/travis/install_pyenv.py
install:
commands:
- python ../ci/install_cmake.py 3.6.2
- $<RUN_ENV> $<PYTHON> -m pip install --disable-pip-version-check --upgrade pip
- $<RUN_ENV> $<PYTHON> -m pip install -r requirements.txt
- $<RUN_ENV> $<PYTHON> -m pip install -r requirements-dev.txt
circle:
commands:
- sudo apt-get update
- sudo apt-get install gfortran
before_build:
commands:
- $<RUN_ENV> $<PYTHON> -m flake8 -v
build:
commands:
- $<RUN_ENV> $<PYTHON> setup.py build
test:
appveyor:
environment:
PATH: $<PYTHON_DIR>\\Scripts;$<PATH>
commands:
- $<RUN_ENV> $<PYTHON> setup.py test
after_test:
commands:
- $<RUN_ENV> codecov -X gcov --required --file ./tests/coverage.xml
- $<RUN_ENV> $<PYTHON> setup.py bdist_wheel
appveyor:
commands:
- $<RUN_ENV> $<PYTHON> setup.py bdist_wininst
- $<RUN_ENV> $<PYTHON> setup.py bdist_msi