This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
48 lines (41 loc) · 2.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
36
37
38
39
40
41
42
43
44
45
46
47
48
language: python
python: "3.6"
cache: pip
dist: xenial
addons:
postgresql: "9.6"
chrome: stable
apt:
packages:
- openjdk-8-jre-headless
- ghostscript
- libpoppler-cpp-dev
- libgnutls28-dev
- libev-dev
env:
- TOXENV=py36 DEPLOY=yes
- TOXENV=pep8
install: ./.travis-install.sh
script:
- tox -e $TOXENV
after_success:
- if [ "$TOXENV" = 'py36' ]; then coveralls; fi
- 'if [ "$TOXENV" = "py36" ]; then $TRAVIS_BUILD_DIR/.tox/py36/bin/pip freeze | sed -r "s/^-e git.*?egg=([a-z\._]+)$/\1==${TRAVIS_TAG:1}/g" > $TRAVIS_BUILD_DIR/requirements.txt; fi'
- if [ "$TOXENV" = 'py36' ]; then cat requirements.txt; fi
deploy:
- provider: releases
api_key:
secure: "ju8JAh6rnCrFu8gXnk5rkC7A9uWfjVD8Kp6CMNHQ97pXz8YZ67aChj08IToKFhzpBBsGl7W8w2+Xn60ubuZgzeGqzm1S8DfzaNvOhGivReb3uGhIszIYe7QBNEBzQOkZLBAQqO1qlGG5mQTdu7TMouhqlCimgRiRWeasi4v1GBAv4f482WG1N8zeXq13UoQRuVe6AbEq2+25xHox6UDh9ajFBDhs/IW6cmSEd53HSVHaVaPjsnvU1jPSg8AYyxFIMFf/29inMwTEHDxMpq0qfdR3/kBYd0HYDSSk+UjRWC9yxPEhbMjQ5QWzdjtEiozdfiZsRmRaOAmTmu4LGMBj+Enopn/3FZ1pu0z64DYkhEBX/jHgfylhO/oR0OjaF2U6B/nMp530hymC3nHsb/YdC2wT2L25Nv8dE+N3qRRbCcL+LxxrBYbeDUe447mIvwRh+EgukLPXMkA1f7+nszyxZZ2ThcEkutfpjZPkKoB7686y/VqpCB6vInAKLZtJfOk+woX9RfCz9pu8F83TV/OHxkDUvmcN+LnjtunNyFqhRTizkwRtYK/SOp0mrqOfj8ritqTlfIPoCBvjL8diPMvx5qXs5gw19YPlK0coj3/d2VCoakDeqsK8PzI8pHSy+8fRsIlW4ZUbbXb/b9eIqSti9J5AI7ZBe0hkSAbqTef/C2k="
file: requirements.txt
skip_cleanup: true
on:
tags: true
condition: $TOXENV = py36
- provider: pypi
distributions: "sdist bdist_wheel"
user: seantis
password:
secure: "Vg2MIsz3NvoTZQhFJJdA4GSszAtFOk+OfguhvrR39A/QBjNGY5tmagLpRwxZ3SqnV4tDL88kMtEMWoOrlS3cujEgRPlnmKy0Szsio0zkVldmXE+s4vmDXmdFhO/ImJ1GueaM9RszjTrSkwW6XvcRiVacuba1HbAaOFkRpkhpIQFlMko5/l9GO8gQhIHckoBTwP1SCSmP2yeca1Guc00EF2bBxpKHiV0Ftz0ZKCZd4i1JdEVEwP+DEMPwvEW0vcmrplXma2hsMXSeDjIiSocFG/Ca6TYgVrxb8zy1P5PhGik1dtuPvBpGukGrt3o4yQ92kMJaqKkv0/d07+Wycxq5rruSkPYUr8KvbAy+p3aBPgjqsqn935TWASCUhS/vhNczKEzozhtTloI/q9GpRWrHvME1rO2DHQF/31euAt/0wSWtHqG1Ynbem5J9aJuHOYnEqmfqrgXNIvBO8yq/O9vGRLMSaIosHRlfUfEnE1iziQQhUbVzGKjGoJuy8OvBQg7KY2AEWjxRCVpizKbe/1AgCx53BekR5ycmKVe1CWF2rQLC6Imuqmzv3MibxD3BaJmgAKWDcsV2XFckrXcF1DAVmnW9d/ALOZ+f/DqwZrdyA5J+hO48Zs7C1Lww2oVvRXrvQiQBdrDGpWRDLZZ5DSITgOiLZPRO4e0d0u9nM07fHa0="
on:
tags: true
condition: $TOXENV = py36