diff options
-rwxr-xr-x | scripts/travis-setup.sh | 4 | ||||
-rwxr-xr-x | scripts/travis.sh | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/travis-setup.sh b/scripts/travis-setup.sh index e372a64b03..1520777841 100755 --- a/scripts/travis-setup.sh +++ b/scripts/travis-setup.sh @@ -44,3 +44,7 @@ wget -q -O - http://llvm.org/releases/3.4/clang+llvm-3.4-x86_64-unknown-ubuntu12 # apt-get -qq -y --no-install-recommends install clang-3.4 lldb-3.4 pip install cpp-coveralls --use-mirrors + +# install prebuilt dependencies +cd /opt +sudo git clone --depth=1 git://github.com/tarruda/neovim-deps diff --git a/scripts/travis.sh b/scripts/travis.sh index 94b900b520..ec8ae435af 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -17,6 +17,12 @@ check_and_report() { ) } +# setup environment for using the /opt/neovim-deps prefix +export PATH="/opt/neovim-deps/bin:$PATH" +export PKG_CONFIG_PATH="/opt/neovim-deps/lib/pkgconfig" +export DEPS_CMAKE_FLAGS="-DUSE_BUNDLED_LIBUV=OFF -DUSE_BUNDLED_LUAJIT=OFF -DUSE_BUNDLED_MSGPACK=OFF -DUSE_BUNDLED_LUAROCKS=OFF" +eval $(/opt/neovim-deps/bin/luarocks path) + # Travis reports back that it has 32-cores via /proc/cpuinfo, but it's not # what we really have available. According to their documentation, it only has # 1.5 virtual cores. |