1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-27 15:53:31 +03:00
vimr/bin/build_travis.sh
2017-11-29 23:23:52 +01:00

29 lines
675 B
Bash
Executable File

#!/bin/bash
set -e
echo "### Building libnvim"
pushd 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 SwiftNeoVim -workspace VimR.xcworkspace
xcodebuild build -scheme VimR -workspace VimR.xcworkspace
echo "### Executing tests"
xcodebuild test -scheme SwiftNeoVim -workspace VimR.xcworkspace
xcodebuild test -scheme VimR -workspace VimR.xcworkspace