1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-01 01:32:04 +03:00

Streamline travis build

This commit is contained in:
Tae Won Ha 2017-05-04 22:41:09 +02:00
parent fae99f88e5
commit 7bbb2f8b8d
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 26 additions and 3 deletions

View File

@ -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

25
bin/build_travis.sh Executable file
View File

@ -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