1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 07:13:24 +03:00
vimr/bin/build_travis.sh
2017-12-03 09:59:15 +01:00

28 lines
623 B
Bash
Executable File

#!/bin/bash
set -e
echo "### Building libnvim"
pushd NvimView/neovim
ln -f -s ../../local.mk .
rm -rf build
make distclean
../../bin/build_libnvim.sh
popd
echo "### Updating carthage"
carthage update --platform osx --cache-builds
# to avoid Xcode time out, cf https://stackoverflow.com/questions/37922146/xctests-failing-on-physical-device-canceling-tests-due-to-timeout/40790171#40790171
echo "### Building"
xcodebuild build -scheme NvimView -workspace VimR.xcworkspace
xcodebuild build -scheme VimR -workspace VimR.xcworkspace
echo "### Executing tests"
xcodebuild test -scheme VimR -workspace VimR.xcworkspace