File: .travis.yml

package info (click to toggle)
fades 9.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,456 kB
  • sloc: python: 3,940; makefile: 174; sh: 15
file content (36 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (2)
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
dist: bionic

language: python

python:
      - "3.6"
      - "3.7"
      - "3.8"
      - "3.8-dev"  # 3.8 development branch
      - "3.9-dev"  # nightly
install:
    - "pip install -r requirements.txt"
    - >
      if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]
        then
          pip install coveralls pytest-cov
      fi
-script:
    - >
      if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]
        then
          pytest --cov=fades
        else
          pytest
      fi
# report coverage to coveralls.io
after_success:
    - >
      if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]
        then 
          coveralls
      fi

cache:
  apt: true
  pip: true