Debian Codegraph @

.travis.yml

raw
1 language: python
2 sudo: false
3 python:
4 - "3.6"
5 - "2.7"
6 - "3.5"
7 - "2.6"
8 - "pypy"
9 - "pypy3"
10 - "3.7-dev"
11
12 # -- DISABLED:
13 # - "nightly"
14 # - "3.4"
15 # - "3.3"
16 #
17 # NOW SUPPORTED: "3.5" => python 3.5.2 (>= 3.5.1)
18 # NOTE: Python 3.5.0 is broken (for some tests).
19 # NOTE: nightly = 3.7-dev
20
21 # -- TEST-BALLON: Check if Python 3.6 is actually Python 3.5.1 or newer
22 matrix:
23 allow_failures:
24 - python: "3.7-dev"
25 - python: "nightly"
26
27 cache:
28 directories:
29 - $HOME/.cache/pip
30
31 install:
32 - travis_retry pip install -q -r py.requirements/ci.travis.txt
33 - python setup.py -q install
34
35 script:
36 - python --version
37 - pytest test tests
38 - behave -f progress --junit features/
39 - behave -f progress --junit tools/test-features/
40 - behave -f progress --junit issue.features/
41
42 after_failure:
43 - echo "FAILURE DETAILS (from XML reports):"
44 - bin/behave.junit_filter.py --status=failed reports
45
46 # -- ALTERNATIVE:
47 # egrep -L 'errors="0"|failures="0"' reports/*.xml | xargs -t cat
48
49 # -- USE: New container-based infrastructure for faster startup.
50 # http://docs.travis-ci.com/user/workers/container-based-infrastructure/
51 #
52 # SEE ALSO:
53 # http://lint.travis-ci.org
54 # http://docs.travis-ci.com/user/caching/
55 # http://docs.travis-ci.com/user/multi-os/ (Linux, MACOSX)