File: .travis.yml

package info (click to toggle)
tvdb-api 3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 5,704 kB
  • sloc: python: 960; makefile: 12
file content (37 lines) | stat: -rw-r--r-- 595 bytes parent folder | download
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
language: python
python:
  - 2.7
  - 3.5
  - 3.6
  - 3.7
  - 3.8
  - pypy
  - pypy3

install:
  - pip install codecov
  - pip install -r requirements-dev.txt
  - python setup.py develop

script:
  - python -m pytest

after_success:
  - codecov

jobs:
  include:

    - name: "Formatting"
      python: 3.8
      install:
        - pip install black==19.10b0
      script: black --diff --check tvdb_api.py tests/*.py
      after_success: ignore

    - name: "Linting"
      python: 3.8
      install:
        - pip install -r requirements-dev.txt
      script: flake8
      after_success: ignore