2014-08-07 05:07:26 -07:00
|
|
|
. "$CI_SCRIPTS/common.sh"
|
2014-08-08 03:15:19 -07:00
|
|
|
|
|
|
|
install_vroom
|
|
|
|
|
2014-08-07 05:07:26 -07:00
|
|
|
set_environment /opt/neovim-deps/32
|
|
|
|
|
|
|
|
# Need this to keep apt-get from removing gcc when installing libncurses
|
|
|
|
# below.
|
|
|
|
sudo apt-get install libc6-dev libc6-dev:i386
|
|
|
|
|
|
|
|
# Do this separately so that things get configured correctly, otherwise
|
|
|
|
# libncurses fails to install.
|
|
|
|
sudo apt-get install gcc-multilib g++-multilib
|
|
|
|
|
|
|
|
# Install the dev version to get the pkg-config and symlinks installed
|
|
|
|
# correctly.
|
|
|
|
sudo apt-get install libncurses5-dev:i386
|
|
|
|
|
|
|
|
CMAKE_EXTRA_FLAGS="-DTRAVIS_CI_BUILD=ON -DBUSTED_OUTPUT_TYPE=color_terminal \
|
|
|
|
-DCMAKE_SYSTEM_PROCESSOR=i386 \
|
|
|
|
-DCMAKE_SYSTEM_LIBRARY_PATH=/lib32:/usr/lib32:/usr/local/lib32 \
|
|
|
|
-DFIND_LIBRARY_USE_LIB64_PATHS=OFF \
|
|
|
|
-DCMAKE_IGNORE_PATH=/lib:/usr/lib:/usr/local/lib \
|
|
|
|
-DCMAKE_TOOLCHAIN_FILE=cmake/i386-linux-gnu.toolchain.cmake"
|
|
|
|
$MAKE_CMD CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" unittest
|
|
|
|
$MAKE_CMD test
|