Move Travis targets to Makefile

This allows for calling them easily locally.
This commit is contained in:
Daniel Hahler
2017-02-17 19:44:22 +01:00
committed by Dave Halter
parent 0844b14866
commit 682f37792d
2 changed files with 18 additions and 9 deletions

View File

@@ -10,16 +10,9 @@ matrix:
- env: ENV=test
install:
- |
if [ "$ENV" = "check" ]; then
pip install vim-vint
else
if [ "$ENV" = "test" ]; then
pip install pytest
fi
script:
- vim --version
- |
if [ "$ENV" = "check" ]; then
vint after autoload ftplugin plugin
else
pytest
fi
- make "$ENV"