diff options
author | Florian Walch <florian@fwalch.com> | 2014-08-06 11:21:02 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-08-06 12:58:38 -0300 |
commit | f29504a5b86a0f70c9d87ef29a190b057a94ab76 (patch) | |
tree | 4dcb635eda8199c7c16fe0ff667495fed72ab341 /scripts/travis.sh | |
parent | 5f42ba693b8d540516beb083226af69dc5bba86b (diff) | |
download | rneovim-f29504a5b86a0f70c9d87ef29a190b057a94ab76.tar.gz rneovim-f29504a5b86a0f70c9d87ef29a190b057a94ab76.tar.bz2 rneovim-f29504a5b86a0f70c9d87ef29a190b057a94ab76.zip |
travis.sh: Update sources before installing packages.
Diffstat (limited to 'scripts/travis.sh')
-rwxr-xr-x | scripts/travis.sh | 7 |
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 |