forked from neovim/pynvim
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (27 loc) · 935 Bytes
/
.travis.yml
File metadata and controls
27 lines (27 loc) · 935 Bytes
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
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "pypy"
before_install:
- sudo apt-get update -qq
- sudo apt-get install expect -q
- git clone --depth=1 -b master git://github.com/neovim/neovim nvim
- sudo git clone --depth=1 git://github.com/neovim/deps /opt/neovim-deps
- pip install -q flake8 flake8-import-order flake8-docstrings pep8-naming
install:
- pip install .
- prefix="/opt/neovim-deps/64"
- eval $($prefix/usr/bin/luarocks path)
- export PATH="$prefix/usr/bin:$PATH"
- export PKG_CONFIG_PATH="$prefix/usr/lib/pkgconfig"
- export USE_BUNDLED_DEPS=OFF
- cd nvim && make && cd ..
before_script:
- flake8 --exclude ./neovim/plugins neovim
script:
- ./nvim/scripts/run-api-tests.exp "nosetests --nologcapture --verbosity=2" "./nvim/build/bin/nvim -u NONE"
- NVIM_SPAWN_ARGV='["./nvim/build/bin/nvim", "-u", "NONE", "--embed"]' nosetests --nologcapture --verbosity=2