Codebase list pyexcel / f6b31b6a-1f1e-442c-beef-97fec94229e8/upstream .travis.yml
f6b31b6a-1f1e-442c-beef-97fec94229e8/upstream

Tree @f6b31b6a-1f1e-442c-beef-97fec94229e8/upstream (Download .tar.gz)

.travis.yml @f6b31b6a-1f1e-442c-beef-97fec94229e8/upstreamraw · history · blame

sudo: false
dist: xenial
language: python
notifications:
  email: false
python:
  - 3.8
  - 3.7
  - 3.6
matrix:
  include:
    - python: 3.6
      env: MINREQ=1

stages:
  - lint
  - test


.lint: &lint
  git:
    submodules: false
  python: 3.6
  env:
    - MINREQ=0
  stage: lint
  script: make lint

jobs:
  include:
    - *moban
    - *lint

stage: test

before_install:
  - if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
      mv min_requirements.txt requirements.txt ;
    fi
  - test ! -f rnd_requirements.txt ||
    pip install --no-deps -r rnd_requirements.txt
  - test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
  - pip install -r tests/requirements.txt
script:
  - make test
after_success:
  codecov