-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscikit-ci.yml
More file actions
64 lines (53 loc) · 1.71 KB
/
scikit-ci.yml
File metadata and controls
64 lines (53 loc) · 1.71 KB
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
schema_version: "0.5.0"
before_install:
appveyor:
environment:
PATH: $<PYTHON_DIR>;$<PYTHON_DIR>\\Scripts;$<PATH>
RUN_ENV: .\\..\\addons\\appveyor\\run-with-visual-studio.cmd
commands:
- python ../addons/appveyor/patch_vs2008.py
circle:
environment:
PATH: /opt/python/$<MANYLINUX_PYTHON>/bin:$<PATH>
travis:
osx:
environment:
PATH: $<HOME>/.pyenv/versions/$<PYTHON_VERSION>/bin:$<PATH>
SETUP_BDIST_WHEEL_ARGS: --plat-name macosx-10.6-x86_64
commands:
- python ../addons/travis/install_pyenv.py
install:
commands:
- python --version
- python -m pip install --disable-pip-version-check --upgrade pip
- pip install -U setuptools
- $<RUN_ENV> pip install -U -r requirements-dev.txt
before_build:
commands:
- flake8
build:
commands:
- python setup.py sdist
- python: |
import glob, os
if os.environ.get("UPLOAD_SDIST", "") == "":
sdist=(glob.glob("dist/*.tar.gz") + glob.glob("dist/*.zip"))[0]
print("Deleting [%s]" % sdist)
os.remove(sdist)
- $<RUN_ENV> python setup.py bdist_wheel $<SETUP_BDIST_WHEEL_ARGS>
circle:
commands:
- |
# Since there are no external shared libraries to bundle into the wheels
# this step will fixup the wheel switching from 'linux' to 'manylinux1' tag
for whl in dist/*$(python -c "import wheel.pep425tags as w; print(w.get_platform())").whl; do
auditwheel repair $whl -w ./dist/
rm $whl
done
test:
commands:
- python setup.py test
after_test:
commands:
#- codecov -X gcov --required --file ./tests/coverage.xml
- python setup.py clean