aboutsummaryrefslogtreecommitdiff
path: root/scripts/travis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/travis.sh')
-rwxr-xr-xscripts/travis.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh
index 0530605bce..dc603e1bad 100755
--- a/scripts/travis.sh
+++ b/scripts/travis.sh
@@ -166,12 +166,13 @@ elif [ "$TRAVIS_BUILD_TYPE" = "clint" ]; then
./scripts/clint.sh
elif [ "$TRAVIS_BUILD_TYPE" = "api/python" ]; then
set_environment /opt/neovim-deps
- $MAKE_CMD
+ sudo apt-get update
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
+ 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