This repository has been archived by the owner on Sep 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (44 loc) · 2.45 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
cache: pip
dist: xenial
matrix:
include:
- language: python
python: "3.6"
env: TOXENV=py36
- language: python
python: "3.6"
env: TOXENV=pep8
addons:
postgresql: "9.6"
apt:
packages:
- ghostscript
- libpoppler-cpp-dev
- libgnutls28-dev
- libev-dev
install:
- pip install tox
- if [ "$TOXENV" = 'py36' ]; then pip install coveralls; fi
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: "Q8rSPIlf0S4fRMNRsMJQLhGY19xgwpXsMxDBtPqmYS1IdrjDc7q/6ee+7p1NRhH5iGp53D9l+1FSYrrW/RAEBd2AU52nbvzZX/HDeuGlcfJXFTSy0WE2AIoDoDqDHkjz8/AJSsaUBGq+qsOZ2WlWOyw33D8L+b6Acy2R3BN1NtJXXul7EXEKcmjhlNhxeCS9Yurgg4LU/ahlep5bavo57jNNELKLo4x818BF5Ag7/5E+nUns3sQ3DmS0GZfWGrhyzM+6lqwDjkbv+ABQGnIvnjf/sO37fIdxGc524W3sTz4XhM6sy0Gvc4bKKxCrn9OYCW+tuCKGr/tkJhBZgcJR5x1sbZeYPGRwPoFs8CmlogW9ThMn0ob+E0Le/nLdr0stY6ksvslLJweR5w8FW2/L4s0kxxaN04OvVSfPaBmcXy2JhZWxAsFbdo09EdXmBnB+/SH4KY4UFmFQVorQl6OP1pgdUKFhGbHAJDbvNshQMDc0rYgdnDSgECl9svZED0FUKsDUioDrcR9uosEY1TLwnJXueXXE0XZ7HxYqGopw229WWjGOvzdFXtsow3y/bxsl93/WV9JxXN/S46MhSo43BU3WKo126OER2C8hNMOS1sVRRm3+rss4EsautQUpcbnsFCvG/QvSJXOjVY5o7UVafBSj0jSNDVNrN0cd5UFUBiU="
file: requirements.txt
skip_cleanup: true
on:
tags: true
condition: $TOXENV = py36
- provider: pypi
distributions: "sdist bdist_wheel"
user: seantis
password:
secure: "aVqJCW/anipZ+K/oAM/6LdmuIRSUF8tdmkCyyH0VofLyH+FJtiq/dfr+zxdb0NkTYrbVgt2YdmzWuudyW/gWTBnXeaNd6YAVINMhbf2N01ltYanKmgXoD40f/tc3cJKrZona2+F7Re0DmryMuw9dU8ojZYdY0npYZk13GaLhkwIdVjkncOEVwQGB7x4zQaC4ednk/uXkrfqdvO7oFS9y3mLR9XHzS6FcSY8nOpGISz2mJUSEbJd82bBcBGDffWD1o6Ru4FWrwtTssfaxCWL8IiGFxFMk15IV5ET4xNb5wW0ObUwVdkw4nRF5FtjvKd7evdNwgymTJuJ3+iNHLJp72IoKTMEyWFgpJ1TnyVRpYaH5fm2vBLlKr2T4HhUPFnokUlln2SvcAPT2WxllTsnqcy1UYSC2owhMs8OHA/V6biwzdQPHpRaZ1YikfqXbldgrdhN/dbd6j3K+p0AmeabeOcr1e5YjHo9Z/KCP0yW3d3OS4nVSta5ZGEg7w7avRCi9MFHRDQkVx5kb0ClctsQL02fxPJGd/DKfHrO9mQV2pssJl11tpA/yFyqi/F27l6PUqRYa9LWLWkdUaOudc0zI23R3EP5sSjIxXh2ye9zQ6NKA5onXF6Dkr0dK96H39YNSlpZ54eFhnmvgn8IniKmoKtHoUvbtTG97ijszDWQVERY="
on:
tags: true
condition: $TOXENV = py36