1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-22 13:11:55 +03:00
vimr/bin/build_travis.sh

28 lines
623 B
Bash
Raw Normal View History

2017-05-04 23:41:09 +03:00
#!/bin/bash
set -e
echo "### Building libnvim"
2017-12-03 11:59:15 +03:00
pushd NvimView/neovim
2017-05-04 23:41:09 +03:00
2017-12-03 11:59:15 +03:00
ln -f -s ../../local.mk .
2017-05-04 23:41:09 +03:00
rm -rf build
make distclean
2017-12-03 11:59:15 +03:00
../../bin/build_libnvim.sh
2017-05-04 23:41:09 +03:00
popd
echo "### Updating carthage"
carthage update --platform osx --cache-builds
2017-05-04 23:41:09 +03:00
2017-10-22 20:38:36 +03:00
# 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"
2017-12-03 11:59:15 +03:00
xcodebuild build -scheme NvimView -workspace VimR.xcworkspace
2017-11-30 00:59:49 +03:00
xcodebuild build -scheme VimR -workspace VimR.xcworkspace
2017-10-22 20:38:36 +03:00
2017-05-04 23:41:09 +03:00
echo "### Executing tests"
2017-11-30 00:59:49 +03:00
xcodebuild test -scheme VimR -workspace VimR.xcworkspace