diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-16 19:38:46 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-16 19:43:45 -0300 |
commit | 937922271a6039866ceee9800664cab3519ef3ef (patch) | |
tree | ff246bd319fa829bcd9bb725a3d3f473eb0208af | |
parent | 43c6ec6803364e88c1e684a4e11c06150121e779 (diff) | |
download | rneovim-937922271a6039866ceee9800664cab3519ef3ef.tar.gz rneovim-937922271a6039866ceee9800664cab3519ef3ef.tar.bz2 rneovim-937922271a6039866ceee9800664cab3519ef3ef.zip |
Configure travis to use prebuilt dependencies
Dependencies are now hosted in a github repository and this brings two advantages:
- Improved build time with travis since we no longer have to build each
dependency
- Less chance of build errors due to external servers being down since Github is
now the single point of failure
-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. |