From f29504a5b86a0f70c9d87ef29a190b057a94ab76 Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Wed, 6 Aug 2014 11:21:02 +0200 Subject: travis.sh: Update sources before installing packages. --- scripts/travis.sh | 7 ++++--- 1 file 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 -- cgit