-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
35 lines (29 loc) · 1.32 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
dist: xenial
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
install:
- pip install -r .requirements_dev.txt
- pip install .
script: pytest -v --doctest-modules --cov-report=xml --cov=fast_plotter tests/
after_success:
- coverage combine
- codecov
jobs:
include:
- stage: test
script: flake8 --max-line-length=120 fast_plotter tests
name: flake8
deploy:
provider: pypi
user: fast-hep
distributions: "sdist bdist_wheel"
password:
secure: "t4qxXUbXZiNEQkHuBnfrmM68Q7TmwlgMSQLu2vpl55szOsI4OznYgEfcA1JLREClylEi3WNdjL6Ln7IFbYDge26Mv8EM4QIyowhsbRRiuUoWpFslkTbKYzUD364jjBLAAohUu+aq+HJu1L7QlwDnycx1XOKCJY/tT9J1mTOhNFp6bYNftXIeuYmhlQ5AGTxaWjUSPAsAxtErExhbXAEA+xmFLl6xXt18DB0+Zf2UbN/xNOh7G+IbUSbUdE+iEloWsA7748BSQXsIF5P7M6Ajllxo/oCyTlEcVGlD2eXT57JP3ZTQGHK8EtTea/BVy8/0F7Lk3bTqrwNEWjtMljre6P4zFseJFluevdgM0NEaW16lc90zA94ppVDrEDtvpW9Q8tR6AqbMsmAiGPLu5mfLULE5C0fC+KeVUQ512EJuf+TF/Cc/ZwD7GEH8R5HvoRR2ePQMwgRA98zcWpONINlMayotkhRBesE6ITvp6iPJIt6XsHocN8kVKoFCZUefPtB+hGe+QyYi1XLcZ+iGp0HHSx+ma63QaplA7B9Yq3RZqYj5Hb9HMHRv5hV0FDsTbDeFgxljEHDMfSkSanE+SPQ0H1ioc2snIB6+m+mM/waJu5n6mYVTme5Z8rJcSGSWEfeGvh+WaVu8kswnYH0YKQVW8zxW3HIedd8jDBXrYW5QrI4="
on:
tags: true
repo: FAST-HEP/fast-plotter
condition: "$TRAVIS_PYTHON_VERSION == 3.7 && $TRAVIS_TAG =~ ^v[0-9]+[.][0-9]+[.][0-9]+(-rc[0-9]+|[.]dev[0-9]+)?$"