mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 01:38:16 +00:00
Travis CI: Refactor travis script
To simplify modification/inclusion of continuous integration targets, this removes travis.sh which contains a big if statement in favor of multiple scripts under the new '.ci' directory.
This commit is contained in:

committed by
John Szakmeister

parent
cb809069a8
commit
6483a198e4
19
.ci/api-python.sh
Normal file
19
.ci/api-python.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
. "$CI_SCRIPTS/common.sh"
|
||||
|
||||
set_environment /opt/neovim-deps
|
||||
|
||||
sudo apt-get install expect valgrind
|
||||
|
||||
$MAKE_CMD
|
||||
|
||||
git clone --depth=1 -b master git://github.com/neovim/python-client
|
||||
cd python-client
|
||||
sudo pip install .
|
||||
sudo pip install nose
|
||||
test_cmd="nosetests --verbosity=2"
|
||||
nvim_cmd="valgrind -q --track-origins=yes --leak-check=yes --suppressions=$suppressions --log-file=$tmpdir/valgrind-%p.log ../build/bin/nvim -u NONE"
|
||||
if ! ../scripts/run-api-tests.exp "$test_cmd" "$nvim_cmd"; then
|
||||
valgrind_check "$tmpdir"
|
||||
exit 1
|
||||
fi
|
||||
valgrind_check "$tmpdir"
|
Reference in New Issue
Block a user