forked from detule/odbc-cli
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
38 lines (34 loc) · 3.38 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
sudo: false
cache: pip
language: python
env:
global:
- secure: YGpGnxf9XMnwFiOyXKvl8XiDodhPIN7+PzOytJ0bodNvhriaua8Y54NT04WXLzpcg59t0Bp0Yd6gUERuyZ4cslBBpHtfl74iUOJPOEk/V7H0562C7TAxXxI9+XltYBhnv55Bxq/4B1Rj0YQxJ0Dl3CMfJGovAPs6zLUA7p2fz+kkhIDcc4DC2l7DE3rYhUsRCYakjaCpGSfPT1LSOBheGPWN3taPnANr0M9pTDI+Ej+kpfip7Sxna+phKZjvy9gsdhr4Wbca52826wj29E3B2Z4qw1wBVTqCzT6oPTvLt2++etbAfDkGohXy0zBOHDy2nN9oILIci5GMYd6qivQTu2gQBM7n0woMjk3NNe6buu23t7DpI9EuVpEl/3ocPdqDudaR9kW5UyWYJd0lvEJeTUolKjDGnUiDEh/tDAvgXtWiqi8DTZJTnwDwFpGB8eKNPqJhbUL9lj7HtfyElwTzJyHViwJRvAtvbMCtLroEVZau41+cTS2aIVkJLUP7ECpIKXWNGzmhfTBWsuF2aKnEH3onG84/QbuS8ADFD5XAKUP9fyq7qK7sf2loDrhSrGG2f8laIrL53ZiUgQItmcHBqW64eXILJwHN4loucc+X/gS27mNPZQZGxdF1UmWTUUnzVCTmrrL8hQqVi4Kue7j2TLtX6GCaocZ+VTS2qVWO3RI=
- secure: DAQBtOrsIbNav3Ac8FLKjOQNfnlPMX+cXRk4SfjvfxJciA8W16Aa2ZyYhC0AZiEBQbMwslYS2WyYNU3+NsQfoCJ+KoWYbnfT/qfvn+K+f0uKZTazZaOHSJA4tOs6kA88L1X5yHOwMalQqyRUEkQ1lHxcGxmjMFDi+FdsCLDVQIuLaAn+Apk3TNGXKzV7IaYNkHO5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IfLQ92T2USjbExetOartz/P+X1dreECHXhk9g55qAvob4k3uCE3K+WAEdbVw39mqhfUPz0iuKqTsrJJ5fNyX2Y=
- secure: d6W0/c04ea+0Lb5FXzzVcV4yVSqEMwrB1DOEpRapTP50a6JumziLKhIyDyzsJMgqVmkGQsAgfDNtGOZ1k/UiA3rjSXlQ5YgIwQpr0xgntKDq1/Ha02xxBpXfaS+ts3cnygldOGKF7jtPOJ+sb3hSdVmX1+q25OoyW8VtUT3GVtK0vERKxePdNzwOmrUXihYsvMMDrebmvcQvXHyk0UhtKnPlYVfyzcqoRBhlKUkUfU1LhLDQvewWcwwg7fC+7eK3Njx7EyIZ2sxU2IzDsE933YksVmJKowZOZtJsfOh6e1dspmP5Id9bGl4wTH68IzoFXzEi+/RAo68wXRjL39G6/WaRqph7YQHtLfqak1zLM7Gh0jxYSseWyYAW29RbLV71H4isXG8X6lOQE8hq9VxLaXoWx9HHaCJWuQUZVGlcnlvOcOxlr+FKmG29Z3zm9RtsZuGuZXm3+Ndf32ZBebGr5RQg5R4kkb2R/BIcm/+FBYRdCO6zjx894VXDUdUDuuwSPj0V9EvhUEEcKxwjxezIvcyE6/GC+FirhESSU/b5ufWEIW2O3TAMJxthUN5QX9JUV4+4rNhW70Y968u/BbZBCIC6fYl4UXFNl3f+I09hs6EhMVWK88ytszn+L0dACnIpedKVeJQ46GNkiX5pwve/oLtaww1cHGWP+WJNNGQmACc=
matrix:
include:
- python: 3.7
dist: xenial
sudo: required
script:
- cd $TRAVIS_BUILD_DIR
- |
if [[ "$TRAVIS_TAG" == "" ]]; then
sed -i "/__version__ = / s/\"$/.20$TRAVIS_BUILD_NUMBER\"/" odbcli/__init__.py
fi
- pip install --upgrade --upgrade-strategy eager . twine pytest
- pytest .
- python setup.py sdist
deploy:
- provider: script
skip_cleanup: true
script: $TRAVIS_BUILD_DIR/ci/travis/deploy.sh
on:
branch: master
- provider: script
skip_cleanup: true
script: $TRAVIS_BUILD_DIR/ci/travis/deploy.sh
on:
tags: true