-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
38 lines (34 loc) · 3.34 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: aPMnYsHgp+QLSh6PbqVL2GbPwldXCPZBXD0El0QadP8zIyKWs985Mt/wcUM0xa4Opf3CQajlgvdJ55WQuxnuep/b6XSuL+F8ETMfYoIqwSfDw25sLuZiAvoP9yASnV3OmhFNwBDF/A2k8XS8Uj4e1jsKYS/zIQtiVY7bXJirwGtkI8xCUkqBCLJgS21dY/Jw6HrMQ06khb5fnYmBFkgKOT21roY92mKlYrjNbcOEGNJYyMi1v4332BhiQ4YYFEqmnPcvuvDtSg44Tkgk/pprf2+QL6al93IrT1QsXPSQFul+3a+W++7VREs09K6G7OUQgM5ASDqefRPthGblMFrBvDWLIEXs3Mh62Euk4/WelR5AC+m1+5VfOLjhw47ym6jBDrLkpxRRVkc0t2dJAUqgB+599wrMqYGW4jraG06AwpYwsk0RnfvBBIXAPEzfQ0VkNPws17XZFRcNITxUZvQfULWbfXTsLvcUYUh0jiCIekCW/ziJ/dsep7r/1SvEA3wF/jmhvZ0vInrfo1iaym7Iaw6QiROa0azmDganmegKiAOHLgievgOz7OSkURSneKuJ9O51Cf5MrKZ5uoANlEvPEnLnf0noR9S9hijIia3RLQ8af3jtV+n9cci8+sEo8sY9+d/UoL1HLgNdJHr+MoShr3Peuj19R48rGDZ9eO5UCZY=
- secure: rezGEijaTupwWTGMxWZ93T41XzSVj10yFP+wfYIhtvl9HWMgNWKOY5u82kok8705pXscJdCbifYUQjEfGnJ8EPIp9tofffdaS0uPAWjZ0y+n4JFj1+Uw3+UC7pmOiXK81F7f7lF5XkPzI2mjAJH0O1fraKZ/7BJg5bbHtsK0QyJpx1sPVtB8VxWRBO3oFWcTHdtp8+Kxog8OnF7YhOowPRPmFLN5UDv8ZP3k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ZPlGudlG3HlcHTyG/7ab38jNRPg8D/jAPiQzJSXU/kIi0xnG/y7aXhGibyRzY=
- secure: Ss4SS5u/pRdzp52urXHaFZd3RSnhHYGWrSG9YMiRhVR/SqM+m3XXDSgCGraax4K+gZL/rZe4gt0yF82zO2+V1F6cTBjOB2Jp1sXW1oS33JWDR0cTHBTbkcRIEdBCt+Fgo8QlsKQBPRtX2Csuu/JE6MwYtbodUAO1zRNr88DQC7GL+IV9Zh7kicUOTAFJKE9B1pjDuaPiqkGOxZAXwbaO8fvaYk3wEWmcSePy9j33lvhen+0GGDMTjGNeflmY4TVIVQKbY+96y3EEyDYE25X68rKzdKF+UowOKnDefTNgnrq1N7fvU6nVPofmQyzTbyxikfxq/vQu7oWzdUVkppz6vvp4ekjBDl6pYuOR2y1RJCYp45Y6F/+Dk9tNWWTkknRyQp6i2ll2LuUlRvlcmbSh4++FP2kAJaCeUXH3Gj9J1oHizMgdIAuH+FCbpzw1f/me2z50Xqj7Lwc7IBr/Eqa+qzblDmPFNW0pOYDfoCB+5KOPCKMXJmbX/apovIgLXiuV+bOc7uubLjJF/uBkP4W/pcwStBbSXtW+xLpRs+nubldXOgIByXqfZikaMkmwBoiBwvv9936IUVIOO99YkWy/PHqgwrXV1kJNQ/LBvNE+HR3620I2ZqF4QdMZeMSiJe1I/oaUuiticNvDIf4G7H7tibkGFq7YuveaaDEzAxiQBg8=
matrix:
include:
- python: 3.7
dist: xenial
sudo: required
script:
- cd $TRAVIS_BUILD_DIR
- |
if [[ "$TRAVIS_TAG" == "" ]]; then
sed -i "/__version__ = / s/\"$/.$TRAVIS_BUILD_NUMBER\"/" odbcli/__init__.py
fi
- pip install . 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