Debian Codegraph @

vim/.travis.yml

raw symbols SCIP
1 dist: bionic
2 language: python
3 python: 3.8
4 env:
5 - ENV=test
6 - ENV=check
7 - ENV=test_coverage
8 install:
9 - |
10 if [ "$ENV" = "test" ]; then
11 pip install pytest
12 elif [ "$ENV" = "test_coverage" ]; then
13 sudo add-apt-repository ppa:neovim-ppa/stable -y
14 sudo apt-get update -q
15 sudo apt-get install neovim -y
16
17 pip install pynvim pytest-cov
18 pip list
19 nvim --version
20 else
21 vim --version
22 fi
23 script:
24 - make --keep-going "$ENV" BUILD_VIRTUAL_ENV=$VIRTUAL_ENV
25
26 after_script:
27 - |
28 if [ "$ENV" = "test_coverage" ]; then
29 coverage xml
30 travis_retry bash <(curl -s https://codecov.io/bash) -X fix -f coverage.xml -F py${TRAVIS_PYTHON_VERSION//./}
31 fi