1language: python 2python: 3.5 3 4env: 5 global: 6 - TWINE_USERNAME="anthrotype" 7 - secure: PJuCmlDuwnojiw3QuDhfNAaU4f/yeJcEcRzJAudA66bwZK7hvxV7Tiy9A17Bm6yO0HbJmmyjsIr8h2e7/PyY6QCaV8RqcMDkQ0UraU16pRsihp0giVXJoWscj2sCP4cNDOBVwSaGAX8yZ2OONc5srESywghzcy8xmgw6O+XFqx4= 8 9branches: 10 only: 11 - master 12 # We want to build wip/* branches since these are not usually used for PRs 13 - /^wip\/.*$/ 14 # We want to build version tags as well. 15 - /^\d+\.\d+.*$/ 16 17matrix: 18 fast_finish: true 19 exclude: 20 # Exclude the default Python 3.5 build 21 - python: 3.5 22 include: 23 - python: 2.7 24 env: TOXENV=py27-cov 25 - python: 3.5 26 env: TOXENV=py35-cov 27 - python: 3.6 28 env: 29 - TOXENV=py36-cov,package_readme 30 - BUILD_DIST=true 31 - python: 3.7 32 env: TOXENV=py37-cov 33 # required to run python3.7 on Travis CI 34 # https://github.com/travis-ci/travis-ci/issues/9815 35 dist: xenial 36 - python: pypy2.7-6.0 37 # disable coverage.py on pypy because of performance problems 38 env: TOXENV=pypy 39 dist: xenial 40 - language: generic 41 os: osx 42 env: TOXENV=py27-cov 43 - language: generic 44 os: osx 45 env: 46 - TOXENV=py3-cov 47 - HOMEBREW_NO_AUTO_UPDATE=1 48 - env: 49 - TOXENV=py27 50 - PYENV_VERSION='2.7.6' 51 - PYENV_VERSION_STRING='Python 2.7.6' 52 - PYENV_ROOT=$HOME/.travis-pyenv 53 - TRAVIS_PYENV_VERSION='0.4.0' 54 allow_failures: 55 # We use fast_finish + allow_failures because OSX builds take forever 56 # https://blog.travis-ci.com/2013-11-27-fast-finishing-builds 57 - language: generic 58 os: osx 59 env: TOXENV=py27-cov 60 - language: generic 61 os: osx 62 env: 63 - TOXENV=py3-cov 64 - HOMEBREW_NO_AUTO_UPDATE=1 65 66cache: 67 - pip 68 - directories: 69 - $HOME/.pyenv_cache 70 71before_install: 72 - source ./.travis/before_install.sh 73 74install: 75 - ./.travis/install.sh 76 77script: 78 - ./.travis/run.sh 79 80after_success: 81 - ./.travis/after_success.sh 82 83notifications: 84 irc: "irc.freenode.org##fonts" 85 email: fonttools-dev@googlegroups.com 86 87deploy: 88 # deploy to Github Releases on tags 89 - provider: releases 90 api_key: 91 secure: KEcWhJxMcnKay7wmWJCpg2W5GWHTQ+LaRbqGM11IKGcQuEOFxWuG7W1xjGpVdKPj/MQ+cG0b9hGUFpls1hwseOA1HANMv4xjCgYkuvT1OdpX/KOcZ7gfe/qaovzVxHyP9xwohnHSJMb790t37fmDfFUSROx3iEexIX09LLoDjO8= 92 skip_cleanup: true 93 file_glob: true 94 file: "dist/*" 95 on: 96 tags: true 97 repo: fonttools/fonttools 98 all_branches: true 99 condition: "$BUILD_DIST == true" 100