fonttools/.travis.yml
2016-09-27 16:36:19 +01:00

83 lines
2.1 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

sudo: false
language: python
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 2.7
env: TOXENV=jython
- python: 3.4
env: TOXENV=py34
- python: 3.5
env:
- TOXENV=py35
- BUILD_DIST=true
- python: pypy
env: TOXENV=pypy
- language: generic
os: osx
# the default 'osx' on Travis is 10.9 Mavericks, with Python 2.7.5
env: TOXENV=py27
- language: generic
os: osx
# this is to test on 10.11 El Capitan which comes with Python 2.7.10
osx_image: xcode7.3
env: TOXENV=py27
- language: generic
os: osx
env: TOXENV=py34
- language: generic
os: osx
env: TOXENV=py35
- language: generic
os: osx
env: TOXENV=pypy
# coveralls is not listed in tox's envlist, but should run in travis
- python: 3.5
env: TOXENV=coveralls
install:
- ./.travis/install.sh
script:
- ./.travis/run.sh
after_success:
- ./.travis/after_success.sh
before_deploy:
- if [[ $BUILD_DIST == true ]]; then export ZIP=$(ls dist/fonttools*.zip); export WHL=$(ls dist/fonttools*.whl); fi
notifications:
irc: "irc.freenode.org##fonts"
email: fonttools@googlegroups.com
deploy:
# deploy to Github Releases on tags
- provider: releases
api_key:
secure: KEcWhJxMcnKay7wmWJCpg2W5GWHTQ+LaRbqGM11IKGcQuEOFxWuG7W1xjGpVdKPj/MQ+cG0b9hGUFpls1hwseOA1HANMv4xjCgYkuvT1OdpX/KOcZ7gfe/qaovzVxHyP9xwohnHSJMb790t37fmDfFUSROx3iEexIX09LLoDjO8=
file:
- "${ZIP}"
- "${WHL}"
skip_cleanup: true
on:
tags: true
repo: fonttools/fonttools
all_branches: true
condition: "$BUILD_DIST == true"
# deploy to PyPI on tags
- provider: pypi
server: https://upload.pypi.org/legacy/
user: anthrotype
password:
secure: Dz3x8kh4ergBV6qZUgcGVDOEzjoCEFzzQiO5WVw4Zfi04DD8+d1ghmMz2BY4UvoVKSsFrfKDuEB3MCWyqewJsf/zoZQczk/vnWVFjERROieyO1Ckzpz/WkCvbjtniIE0lxzB7zorSV+kGI9VigGAaRlXJyU7mCFojeAFqD6cjS4=
distributions: "sdist bdist_wheel"
on:
tags: true
repo: fonttools/fonttools
all_branches: true
condition: "$BUILD_DIST == true"