1
1
mirror of https://github.com/qvacua/vimr.git synced 2025-01-01 10:16:24 +03:00
vimr/bin/build_travis.sh
2017-10-22 19:38:36 +02:00

29 lines
563 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
xcodebuild build -scheme VimR
echo "### Executing tests"
xcodebuild test -scheme SwiftNeoVim
xcodebuild test -scheme VimR