Debian Codegraph @

testing/web-platform/tests/tools/third_party/pathlib2/.travis.yml

raw
1 language: python
2 sudo: false
3 matrix:
4 include:
5 - python: "3.7"
6 dist: xenial
7 env: LC_ALL="en_US.utf-8"
8 - python: "3.7"
9 dist: xenial
10 env: LC_ALL="en_US.ascii"
11 - python: "3.6"
12 dist: xenial
13 - python: "3.5"
14 dist: xenial
15 - python: "3.4"
16 dist: xenial
17 - python: "2.7"
18 dist: xenial
19 - python: "2.6"
20 dist: trusty
21 - python: "pypy"
22 dist: xenial
23 - python: "pypy3"
24 dist: xenial
25 allow_failures:
26 # pypy occasionally has some bugs
27 - python: "pypy"
28 - python: "pypy3"
29 branches:
30 only:
31 - develop
32 install:
33 - "python -c \"import sys; print(sys.getfilesystemencoding())\""
34 - "pip install --upgrade setuptools"
35 - "pip install --upgrade pytest"
36 - "pip install pytest-cov"
37 - "pip install -r requirements.txt"
38 - "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi"
39 - "if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then pip install check-manifest flake8; fi"
40 - "pip install ."
41 script:
42 - "if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then check-manifest; fi"
43 - "if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then flake8; fi"
44 - cd tests
45 - "pytest --cov-report=xml --cov=pathlib2 ."
46 after_success:
47 - bash <(curl -s https://codecov.io/bash)