Codebase list python-pynvim / run/ecc7b493-4404-4743-8100-529a16982079/main .travis.yml
run/ecc7b493-4404-4743-8100-529a16982079/main

Tree @run/ecc7b493-4404-4743-8100-529a16982079/main (Download .tar.gz)

.travis.yml @run/ecc7b493-4404-4743-8100-529a16982079/mainraw · history · blame

dist: xenial
language: python
env:
  global:
    - PYTEST_ADDOPTS="-vv --cov-append"
  matrix:
    - CI_TARGET=tests
matrix:
  include:
    - python: pypy
      dist: trusty
      sudo: false
    - python: 3.6
      env: CI_TARGET=checkqa TOXENV=checkqa,docs
python:
  - 2.7
  - 3.4
  - 3.5
  - 3.6
  - 3.7
  - 3.8
install:
  - if [ $CI_TARGET = tests ]; then
      eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64";
      pip install -q tox-travis;
    else
      pip install -q tox;
    fi
script:
  - tox
after_script:
  - if [ $CI_TARGET = tests ]; then
      set -x;
      pip install coverage;
      coverage combine;
      coverage report -m;
      coverage xml;
      bash <(curl --retry 5 --silent --fail https://codecov.io/bash) -f coverage.xml;
      set +x;
    fi