Skip to content

Travis: test against coveragepy 4.x #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ env:
- CI_TARGET=vim MAKTABA_VERSION=1.14.0
- CI_TARGET=vim MAKTABA_VERSION=master
- CI_TARGET=neovim MAKTABA_VERSION=master
- CI_TARGET=vim MAKTABA_VERSION=master COVERAGEPY="coverage>4,<5"
before_script:
- sudo apt-get update
- sudo apt-get install python3-dev python3-coverage
- sudo apt-get install python3-dev
- if [ -z "$COVERAGEPY" ]; then
sudo apt-get install python3-coverage;
else
pip install --user "$COVERAGEPY";
fi
- if [ $CI_TARGET = vim ]; then
sudo apt-get install vim-gnome;
elif [ $CI_TARGET = neovim ]; then
Expand All @@ -23,6 +29,12 @@ before_script:
services:
- xvfb
script:
- if [ -z "$COVERAGEPY" ]; then
python-coverage --version;
else
which coverage;
coverage --version;
fi
- '[ $CI_TARGET = neovim ] && VROOM_ARGS="--neovim" || VROOM_ARGS=""'
- vroom $VROOM_ARGS --crawl ./vroom/
matrix:
Expand Down