forked from jwilk/i18nspector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
63 lines (62 loc) · 1.49 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
dist: xenial
language: python
before_install:
- polib="polib==$POLIB"
- polib="${polib%==}"
- pyflakes=pyflakes
install:
- python3 -m pip install $polib
- python3 -m pip install rply
- python3 -m pip install docutils
- python3 -m pip install pydiatra $pyflakes
- if [[ $TRAVIS_PYTHON_VERSION = 3.10-* ]]; then pip install --upgrade --no-deps --force-reinstall --no-binary ':all:' nose; fi
script:
- dpkg-parsechangelog -ldoc/changelog --all 2>&1 >/dev/null | { ! grep .; }
- tests/run-tests -v
- make -C doc/
- private/check-rst
- python3 -m pydiatra .
- python3 -m pyflakes .
- make install PREFIX=~/.local
- cd /
- i18nspector --version
- export MANPATH=~/.local/share/man MANWIDTH=80
- man 1 i18nspector | grep -A 10 -w I18NSPECTOR
jobs:
include:
- python: "3.4"
env: POLIB=1.0.0
- python: "3.5"
- python: "3.6"
- python: "3.7"
- python: "3.8"
- python: "3.9"
- python: "3.10-dev"
- python: pypy3
- &pylint
env: PYLINT=y
python: "3.4"
cache: pip
install:
- python3 -m pip install polib
- python3 -m pip install rply
- python3 -m pip install pylint
- python3 -m pip install pytz # for private/update-timezones
- python3 -m pip install cython
- python3 -m pip install python-afl
script:
- private/run-pylint
- <<: *pylint
python: "3.5"
- <<: *pylint
python: "3.6"
- <<: *pylint
python: "3.7"
dist: xenial
- <<: *pylint
python: "3.8"
dist: xenial
- <<: *pylint
python: "3.9"
dist: xenial
# vim:ts=2 sts=2 sw=2 et