forked from googlefonts/ufo2ft
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (36 loc) · 2.11 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
sudo: false
language: python
env:
global:
- TWINE_USERNAME="anthrotype"
- secure: MVvXcRn1E83gNSt1jTK5vigmbBtjS8MKQtU6SdU7NwlkR85Bdc1AaT60Nikxw55tdbLiDnHcqzfNAauIRBYux+n4XTu58B6r4rSBFTP7qBMAL6PxcMwF1CHRB3n8ZYsddiJUqwo3shJ5WkZVjqAG/kRfd84kWEG7FXYEZEyF4VXNGIQ1o1NrgP+gyD6p7fgv3P7GTTe9/UTEwC3IZSVfdIdkof1NAEyuRr3bUyoMdm9psC9eobex7cA5L70Q6DgPSH8KlGPXJ45xz64B8+0ICdXeULmak/eDAqoz5APsGOpewaL3wEJxdhb3n0tJN3FGTPkwRRrGYGlY5VXld8jY1XmAW+l4mlODQvbPK8NyM4sS67WetH7yCj35YmRhKQAgKsTIqY5paPiyf3sdWcb8FGyoH1M+hfl/2jywUSXGCwzajjfxcs0WCRpsp+bFe6sJBu4gx3Pc5tFFr//jMTp1LjStnZYKLDq0zABmrKqa9TeZUX86ryqxstbdYIAdnok7PONZohx7jK5UwKoqAE9DZbp7Xc+cqrLdmBXCYZ7ssZuUoFO9kLlhUxUsfQsk6721SbLleI1cU+RV7Fxm5QCLxX+51ltqz1eS0pL5WJculCY/1GmFY6aMT8Q55iC8tbrjQGzMNBWEE16V5A9feOafbvaWuyz7LdGwL3PulfVg4d8=
matrix:
include:
- python: 2.7
env: TOXENV=py27-cov
- python: 3.6
env: TOXENV=py36-cov
branches:
only:
- master
- /^v\d+\.\d+.*$/
install: pip install tox
script: tox
after_success:
- tox -e codecov
- |
if [ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_REPO_SLUG" == "googlei18n/ufo2ft" ] && [ "$TRAVIS_PYTHON_VERSION" == "3.6" ]; then
pip install --upgrade twine pip setuptools wheel
python setup.py sdist
pip wheel --no-deps --wheel-dir dist .
twine upload dist/*.whl dist/*.zip
fi
deploy:
- provider: releases
api_key:
secure: zXtgsom/sEEoj/pg0qq0qGFI93QkNEHe4gjX1AOID7oDORz1AP6nBst5zxoMJy/4DH4tNiWTQZdk+OVDmkysn5kJearDZ1uM4g02nhSYxXZ/a50p6ewciaYE1KwBt8IxiqhvvRdY2Fab1eW1aTlRjpCYoFvsovck7sWJ96dhfUMGIRzk9cbo3/JJ052kLz34lgM3PLlToN57WHu3y4TO0tXTjTdo4V8uB0l9O8j9P0ez1Q82ZPcxFicr4HUIqZn4gBu7cRXZr3PXu6Rx54eg/QFD8hVMoH9JOafmRfKmsayE6g0qDbFUMOnoMFg0on8lh2OR5EZlAznrccFccwAGNykY+CxP/dC/Io2XktrA/HIPrWy2rGojSNAYQe3LS5oW/SEbZSTGSG45VdaX7oBzgp/4eKXN/V+n3W68JGjKKN2foIFU3vAL0dm8fA+A2N/fBSR3bCyuwZ/u+Bt+ads0M6dmlBln+s8y1PPdhY4RRaU4I+7m8KOBfMUPzYeAq5DoWWDe8omtqmPHs0DMjr4gtBXOD0qeNE40ogc/LeXJ3l8e1MN8zq0OYfngJJop/HMWfyg7kaVurWCigbsJMNkMpAam8hq7BsLWncRJMQax5NHXAcAqWOVemANOW+H3gcKFPtjzOPblxZNoDK/Y6R2wiY5pfDXl1aMct2BF0mXZPNA=
on:
repo: googlei18n/ufo2ft
tags: true
all_branches: true
python: 3.6