forked from fonttools/fonttools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
68 lines (60 loc) · 1.66 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
sudo: false
language: python
matrix:
include:
- python: 2.7
env: TOXENV=py27-cov
- python: 3.4
env: TOXENV=py34-cov
- python: 3.5
env:
- TOXENV=py35-cov
- BUILD_DIST=true
- python: 3.6
env: TOXENV=py36-cov
- python: pypy2.7-5.8.0
# disable coverage.py on pypy because of performance problems
env: TOXENV=pypy-nocov
- language: generic
os: osx
env: TOXENV=py27-cov
- language: generic
os: osx
env: TOXENV=py36-cov
install:
- ./.travis/install.sh
script:
- ./.travis/run.sh
after_success:
- ./.travis/after_success.sh
before_deploy:
- ./.travis/before_deploy.sh
notifications:
irc: "irc.freenode.org##fonts"
email: [email protected]
deploy:
# deploy to Github Releases on tags
- provider: releases
api_key:
secure: KEcWhJxMcnKay7wmWJCpg2W5GWHTQ+LaRbqGM11IKGcQuEOFxWuG7W1xjGpVdKPj/MQ+cG0b9hGUFpls1hwseOA1HANMv4xjCgYkuvT1OdpX/KOcZ7gfe/qaovzVxHyP9xwohnHSJMb790t37fmDfFUSROx3iEexIX09LLoDjO8=
skip_cleanup: true
file_glob: true
file: "dist/*"
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=
skip_cleanup: true
distributions: pass
on:
tags: true
repo: fonttools/fonttools
all_branches: true
condition: "$BUILD_DIST == true"