fonttools/.travis.yml
Cosimo Lupo e4a3d4aba4 [travis] don't test on OSX pypy any more
I believe it's enough to test pypy implementation only on Linux.
We don't really need to also test it in on OSX, as fonttools is a pure python project so it should just work there as well.
Travis CI has just become too slow...
2016-10-14 17:41:22 +01:00

74 lines
1.8 KiB
YAML

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
env: TOXENV=py27
- language: generic
os: osx
env: TOXENV=py34
- language: generic
os: osx
env: TOXENV=py35
# 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-dev@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"