aboutsummaryrefslogtreecommitdiff
path: root/.ci/api-python.sh
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-10-08 13:56:01 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-10-16 14:06:54 -0300
commit0c2ec77ae0c0bde70b168313f89fa3259682a056 (patch)
tree8ae4c703deff5a369cd35c7580351e320faa6d93 /.ci/api-python.sh
parent69561ea922ae6789703c06cbc245929d7c625db9 (diff)
downloadrneovim-0c2ec77ae0c0bde70b168313f89fa3259682a056.tar.gz
rneovim-0c2ec77ae0c0bde70b168313f89fa3259682a056.tar.bz2
rneovim-0c2ec77ae0c0bde70b168313f89fa3259682a056.zip
test: Use lua to perform sanity API checks
Sanity API checks made by the python-client in the api-python travis target were converted to lua and will now live in this repository. This will simplify performing breaking changes to the API as it won't be necessary to send parallel PRs the python-client.
Diffstat (limited to '.ci/api-python.sh')
-rw-r--r--.ci/api-python.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/.ci/api-python.sh b/.ci/api-python.sh
deleted file mode 100644
index acdbcc2666..0000000000
--- a/.ci/api-python.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-. "$CI_SCRIPTS/common.sh"
-
-set_environment /opt/neovim-deps/64
-
-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
-# We run the tests twice:
-# - First by connecting with an nvim instance spawned by "expect"
-# - Second by starting nvim in embedded mode through the python client
-# This is required until nvim is mature enough to always run in embedded mode
-test_cmd="nosetests --verbosity=2 --nologcapture"
-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"
-
-export NVIM_SPAWN_ARGV="[\"valgrind\", \"-q\", \"--track-origins=yes\", \"--leak-check=yes\", \"--suppressions=$suppressions\", \"--log-file=$tmpdir/valgrind-%p.log\", \"../build/bin/nvim\", \"-u\", \"NONE\", \"--embed\"]"
-if ! nosetests --verbosity=2 --nologcapture; then
- valgrind_check "$tmpdir"
- exit 1
-fi
-
-valgrind_check "$tmpdir"