diff --git a/.travis.yml b/.travis.yml index 130e522e..f61c5d67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,4 @@ before_install: - brew update - brew install libtool automake gettext ninja script: - - ./bin/build_vimr.sh false - - xcodebuild test -scheme SwiftNeoVim - - xcodebuild test -scheme VimR + - ./bin/build_travis.sh diff --git a/bin/build_travis.sh b/bin/build_travis.sh new file mode 100755 index 00000000..5733cf4d --- /dev/null +++ b/bin/build_travis.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +set -e +set -x + +echo "### Building libnvim" + +pushd neovim + +ln -f -s ../local.mk . + +rm -rf build +make distclean + +echo "### Building libnvim" +make libnvim + +popd + +echo "### Updating carthage" +carthage update --platform osx + +echo "### Executing tests" +xcodebuild test -scheme SwiftNeoVim +xcodebuild test -scheme VimR