Codebase list pyexcel / 12ef2970-ebbf-40e7-887c-35b763b81e08/upstream .travis.yml
12ef2970-ebbf-40e7-887c-35b763b81e08/upstream

Tree @12ef2970-ebbf-40e7-887c-35b763b81e08/upstream (Download .tar.gz)

.travis.yml @12ef2970-ebbf-40e7-887c-35b763b81e08/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