File: .travis.yml

package info (click to toggle)
python-vega-datasets 0.9%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 1,128 kB
  • sloc: python: 623; makefile: 22
file content (35 lines) | stat: -rw-r--r-- 581 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
language: python

cache: pip

env:
- TEST_DIR=/tmp/_vega_datasets

matrix:
  include:
    - python: 3.5
    - python: 3.6
    - python: 3.7
    - python: 3.8
    - name: "lint"
      python: 3.8
      install:
      script:
        - black --check .
        - mypy vega_datasets
        - flake8 vega_datasets

env:
  global:
    - TEST_DIR=/tmp/_vega_datasets/

before_install:
  - pip install pip --upgrade;
  - pip install -r requirements_dev.txt

install:
  - pip install -e .;

script:
  - mkdir -p $TEST_DIR
  - cd $TEST_DIR && pytest --pyargs --doctest-modules vega_datasets