forked from fonttools/fontbakery
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
29 lines (24 loc) · 880 Bytes
/
.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
language: python
matrix:
include:
- python: 3.6
env: TOXENV=py36,coverage
- python: 3.6
env: TOXENV=flake8,pylint LINT_ONLY=1
branches:
only:
- master
- /^v\d+\.\d+\.\d+/
before_install:
- if [ -z "$LINT_ONLY" ]; then sudo add-apt-repository --yes ppa:fontforge/fontforge; fi
- if [ -z "$LINT_ONLY" ]; then sudo apt-get update -qq; fi
- if [ -z "$LINT_ONLY" ]; then sudo apt-get -y install python-fontforge ttfautohint; fi
- if [ -z "$LINT_ONLY" ]; then sudo apt-get install mono-runtime libmono-system-windows-forms4.0-cil; fi
- pip install --upgrade pip
install:
- wget https://github.com/HinTak/Font-Validator/releases/download/FontVal-2.1.2/FontVal-2.1.2-ubuntu-16.04-x64.tgz
- tar -xvzf ./FontVal-2.1.2-ubuntu-16.04-x64.tgz
- sudo mv ./FontVal-2.1.2-ubuntu-16.04-x64/FontValidator /usr/local/bin/FontValidator
- pip install tox
script:
- tox