This reverts commit a63e1ed5d37797ee361b0a23d09bf8a03aaee23d. The default OSX Travis worker is now osx10.11-xcode7.3 so we don't need to separately test the latter as it's now default. Also, since the OSX are getting quite slow lately, we can't afford to test two different python2.7 on OSX; so from now on we just test the system Python 2.7.11 that comes with El Capitan (so no more 2.7.5 on Mavericks).
77 lines
1.9 KiB
YAML
77 lines
1.9 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
|
|
- 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-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"
|