-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
67 lines (60 loc) · 2.8 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
language: generic
addons:
homebrew:
packages:
- pyenv
matrix:
include:
- os: linux
language: python
python: "3.5"
- os: linux
language: python
python: "3.6"
- os: linux
language: python
python: "3.7"
- os: linux
language: python
python: "3.8"
- os: osx
osx_image: xcode11
language: generic
env: TRAVIS_PYTHON_VERSION="3.5"
- os: osx
osx_image: xcode11
language: generic
env: TRAVIS_PYTHON_VERSION="3.6"
- os: osx
osx_image: xcode11
language: generic
env: TRAVIS_PYTHON_VERSION="3.7"
allow_failures:
- python: "3.8"
before_install:
- .build/install_pyenv.sh
install:
- pip install -U pip
- pip install -U -r ci_requirements.txt
script:
- TEST_PACKAGING=1 python -m coverage run --branch --source . -m unittest -v
after_success:
- python -m coverage report --show-missing
- codecov
before_deploy:
- pip3 install -U --user version_query || pip3 install -U version_query
- wget https://gist.githubusercontent.com/mbdevpl/46d458350f0c9cc7d793b67573e01f7b/raw/prepare_bintray_deployment.py
- python3 prepare_bintray_deployment.py "$TRAVIS_OS_NAME-python$TRAVIS_PYTHON_VERSION" "dist/*.tar.gz" "dist/*.whl" "dist/*.zip"
deploy:
- provider: bintray
file: ".bintray.json"
user: "mbdevpl"
key:
secure: "SNC89pvbeSgRTf/q66W4okjh5TQf95AtZu2B9lAEsR9EgRI5HrFrden2ewiVNeLuJqdX0rkgh7ioLwmJqr5Iw4qt5ExMGmOrwFB6EpOqmIHBzcOkmRcnWM4K8pnXYJpJ0uuiPy2OhmZp/gw5Ahm2ppGcT+BqsAn0SYMgeUG3IaCzj5LZ8gTxbes4ZfAfW75i5lMgIjImiHGhOq5Py/Vzfjea2nhJDZeGur/FEcVm4wMvl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12x1PrYAEvtaW/q1CtTWKvIOGKAW7zm968zA1yyEV96eQSva2aNtwaoN59VQu35vcodfFUTtoHR1M5XXxfYKglJnk="
email: false