forked from jorisroovers/gitlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (51 loc) · 1.27 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
language: python
matrix:
allow_failures:
- os: osx
include:
- python: "2.7"
os: linux
- python: "3.4"
os: linux
- python: "3.5"
os: linux
- python: "3.6"
os: linux
- python: "3.7"
os: linux
- python: "3.8"
os: linux
- python: "pypy"
os: linux
- python: "pypy3.5"
os: linux
# Using 'sh' shim
- python: "2.7"
env: GITLINT_USE_SH_LIB=0
os: linux
- python: "3.7"
env: GITLINT_USE_SH_LIB=0
os: linux
# Windows
# Travis doesn't support python on windows yet:
# https://travis-ci.community/t/python-support-on-windows
# Unit tests are known to have issues on windows: https://github.com/jorisroovers/gitlint/issues/92
# For now, we just run a few simple sanity tests
# - python: "3.7"
# os: windows
# script:
# - pytest -rw -s gitlint\tests\test_cli.py::CLITests::test_lint
# - gitlint --version
# - gitlint
install:
- "pip install -r requirements.txt"
- "pip install -r test-requirements.txt"
script:
- "./run_tests.sh"
- "./run_tests.sh --integration"
- "./run_tests.sh --build"
- "./run_tests.sh --pep8"
- "./run_tests.sh --lint"
- "./run_tests.sh --git"
after_success:
- coveralls