forked from neovim/python-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 1 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
sudo: false
language: python
env:
global:
- NOSE_NOLOGCAPTURE=true
- NOSE_VERBOSE=2
- NOSE_WITH_COVERAGE=true
- NOSE_COVER_PACKAGE=neovim_gui
matrix:
- CI_TARGET=tests
matrix:
include:
- python: 2.7
env: CI_TARGET=flake
- python: 3.4
env: CI_TARGET=flake
#python:
# If the build matrix gets bigger, also update the number of runs
# at the bottom of .scrutinizer.yml.
#- 2.6
#- 2.7
#- 3.3
#- 3.4
#- 3.5
#- pypy
before_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 scrutinizer-ocular;
else
pip install -q flake8 flake8-import-order flake8-docstrings pep8-naming;
fi
install:
- pip install .
script:
- if [ $CI_TARGET = tests ]; then
NVIM_CHILD_ARGV='["nvim", "-u", "NONE", "--embed"]' nosetests;
else
flake8 neovim_gui;
fi
after_script:
- if [ $CI_TARGET = tests ]; then
ocular;
fi