summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: b25de8e316a4396d52c12e6576013fbd1fa3f316 (plain)
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
sudo: false
language: python
python:
  - "2.7"
  - "3.5"
  - "3.5"
  - "3.6"
  - "3.7-dev"
  - "nightly"

install: 
  - pip install -r dev-requirements.txt

script:
  - "if [[ $RUAMEL == '1' ]]; then pip install ruamel.yaml; fi"
  - coverage erase
  - coverage run --source pykwalify -p -m py.test -v
  - flake8 --max-line-length=160 --show-source --statistics --exclude=.venv,.tox,dist,docs,build,.git
  - python setup.py sdist bdist

env:
  - RUAMEL=0
  - RUAMEL=1

after_success:
  - coverage combine
  - coveralls

matrix:
  allow_failures:
    - python: "nightly"