forked from scikit-optimize/scikit-optimize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (65 loc) · 3.09 KB
/
.travis.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
67
68
69
70
71
language: python
cache:
apt: true
directories:
- $HOME/.cache/pip
- $HOME/.ccache
env:
global:
# Directory where tests are run from
- TEST_DIR=/tmp/skopt
- OMP_NUM_THREADS=4
- OPENBLAS_NUM_THREADS=4
matrix:
include:
# Linux environment to test scikit-learn against numpy and scipy master
# installed from their CI wheels in a virtualenv with the Python
# interpreter provided by travis.
- name: "Python 3.6 - scikit 0.20.4"
python: "3.7"
env: DISTRIB="conda" PYTHON_VERSION="3.5"
NUMPY_VERSION="1.13.3" SCIPY_VERSION="0.19.1" PYAML_VERSION="16.9.0"
SCIKIT_LEARN_VERSION="0.20.4" MATPLOTLIB_VERSION="2.0.0" COVERAGE="false"
JOBLIB_VERSION="0.11"
- name: "Python 3.6 - scikit 0.21.3"
python: "3.7"
env: DISTRIB="conda" PYTHON_VERSION="3.6"
NUMPY_VERSION="1.14.0" SCIPY_VERSION="1.0.0" PYAML_VERSION="16.12.0"
SCIKIT_LEARN_VERSION="0.21.3" MATPLOTLIB_VERSION="2.0.0" COVERAGE="false"
JOBLIB_VERSION="0.11"
- name: "Python 3.7 - scikit 0.22.1"
python: "3.7"
env: DISTRIB="conda" PYTHON_VERSION="3.7"
NUMPY_VERSION="1.16.0" SCIPY_VERSION="1.2.0" PYAML_VERSION="17.8.0"
SCIKIT_LEARN_VERSION="0.22.1" MATPLOTLIB_VERSION="*" COVERAGE="true"
JOBLIB_VERSION="0.13"
- name: "Python 3.8 - scikit 0.23.0"
python: "3.7"
env: DISTRIB="conda" PYTHON_VERSION="3.8.1" COVERAGE="false"
NUMPY_VERSION="1.18.1" SCIPY_VERSION="1.4.1" PYAML_VERSION="19.12.0"
SCIKIT_LEARN_VERSION="0.23.0" JOBLIB_VERSION="0.14.1"
- name: "Python 3.7 - sdist check"
python: "3.7"
env: DISTRIB="conda" PYTHON_VERSION="3.7"
NUMPY_VERSION="*" SCIPY_VERSION="*" PYAML_VERSION="*"
SCIKIT_LEARN_VERSION="*" MATPLOTLIB_VERSION="*" COVERAGE="false"
JOBLIB_VERSION="*" SDIST="true"
install: source build_tools/travis/install.sh
script:
- bash build_tools/travis/test_script.sh
- bash build_tools/travis/test_docs.sh
after_success: source build_tools/travis/after_success.sh
deploy:
provider: pypi
user: __token__
# this line together with `setup.cfg` creates universal wheels as long as
# skopt is a python only module (no compiled code)
distributions: sdist bdist_wheel
on:
tags: true
repo: scikit-optimize/scikit-optimize
condition: "$PYTHON_VERSION = 3.6"
skip_cleanup: true
skip_existing: true
password:
secure: "fRrICfP/zNgp/wpMO/ip03P2/G3MhKYj2q7ZJLxgCt/c/AWbobzOF5L7IyCC/Z8VycqdMv1AcF/HLQRBiNQ/ZRxy7RkXk0Bc387ZmlZo3EmCWFhCxeYIJVqBqPQL+qUplbuLFMlcHsvjZh9R2R06k7zxu6cbGrgNCl59NcOcqjqWopwvG8A/nvZ6xLriaZOWv8u6vWrav+xqWSudaBpwjzB2h244rFhWlelKXBGQKw2TKYLuN9BMuklyaTojbVIy62VbL2/SMfPwl9phTAWpxHHjHYQPdk0RpgTJ9YCroSY3HM1LcD7MgIq4Rh1N8M6lcWqoRkjNBso/oLRGWh2Pbz3vt7tssGjAYfE9Xeir5yX1u5+aXzceb4JuIovAwjwvcOAfH8VoXM8nna3o3Qev4j82+XOwYdnuRfpASE1tiRCA/MYHzLvJe8YSfB5vflSKYpTOgKCw4UGp77G/hNs1nsorzCpLoezJ+ZBaehzs9ZdJ0Y5Lm3u1pPKR47DwXHvknLOcx90YN8mZu8c7c3nsC7D9B6xnE0sO1SarIXs3p4zbpfnvc7CDIR4WCvWoT3HQDurFxG6RwkVGcyDF43Wkv3DjOlmADFSOb6z3+G6vbw3p0Bkr6vNBoLuL9eIPkyjblkBEEleLlUBHQWtkBhVeoZiTXxKSHIW7RGd1fcmHWXU="