-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
70 lines (61 loc) · 3.95 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
language: c
os:
- osx
osx_image: xcode9.2
compiler:
- clang
sudo: false
env:
- VIMCMD=/usr/local/Cellar/macvim-kaoriya/HEAD-*/MacVim.app/Contents/MacOS/Vim
script:
- true
before_deploy:
- brew update || brew update
- brew install lua
- brew install [email protected]
- brew install luajit
- brew upgrade python3
- brew install ruby
- brew install gettext
- brew tap universal-ctags/universal-ctags
- brew install --HEAD universal-ctags
- brew tap splhack/splhack
- brew install --HEAD cmigemo-mk
- brew list --versions
- brew install --HEAD -vd macvim-kaoriya
- brew uninstall macvim-kaoriya
- brew install --HEAD -vd macvim-kaoriya --with-binary-release
- rm -f result; $VIMCMD -c "redir>result" -c "set luadll=/usr/local/lib/liblua.5.1.dylib" -c "lua print(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- rm -f result; $VIMCMD -c "redir>result" -c "set luadll=/usr/local/lib/liblua.5.3.dylib" -c "lua print(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- rm -f result; $VIMCMD -c "redir>result" -c "perl VIM::Msg(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- rm -f result; $VIMCMD -c "redir>result" -c "py import sys; print(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- rm -f result; $VIMCMD -c "redir>result" -c "py3 import sys; print(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- rm -f result; $VIMCMD -c "redir>result" -c "ruby puts(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- brew uninstall cmigemo-mk
- brew uninstall universal-ctags
- brew uninstall ruby
- brew uninstall luajit
- brew uninstall [email protected]
- brew uninstall lua
- rm -f result; $VIMCMD -c "redir>result" -c "lua print(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- rm -f result; $VIMCMD -c "redir>result" -c "perl VIM::Msg(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- rm -f result; $VIMCMD -c "redir>result" -c "py print(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- git clone --depth=1 --branch=master https://github.com/splhack/macvim.git macvim-git
- mkdir -p MacVim-KaoriYa/KaoriYa
- cp macvim-git/README.txt MacVim-KaoriYa
- cp macvim-git/README_KaoriYa.txt MacVim-KaoriYa/KaoriYa
- cp macvim-git/CHANGES_KaoriYa.md MacVim-KaoriYa/KaoriYa
- cp -r macvim-git/src/MacVim/deploy/readme.rtfd MacVim-KaoriYa/はじめにお読みください.rtfd
- tar -C /usr/local/Cellar/macvim-kaoriya/HEAD-* -cf - MacVim.app|tar -C MacVim-KaoriYa -xf -
- macvim-git/src/create-dmg/create-dmg --volname "MacVim-KaoriYa $TRAVIS_TAG" --volicon macvim-git/src/MacVim/icons/MacVim.icns --background macvim-git/src/MacVim/deploy/background.png --window-size 500 500 --icon-size 96 --text-size 13 --icon KaoriYa 322 384 --icon MacVim.app 116 208 --icon README.txt 178 384 --icon はじめにお読みください.rtfd 240 86 --hide-extension はじめにお読みください.rtfd --app-drop-link 384 208 MacVim-KaoriYa-$TRAVIS_TAG.dmg MacVim-KaoriYa
deploy:
provider: releases
api_key:
secure: XAkrfU6uUI0GhGCDvxR7Kdx6KcGjPlAWX1P5X7dDRORsfcv22D9fPnkSOB7Kou1VcA+3BH7cdv9EzD9KWUZ86xz2fg2aJ5h1iem+aApqD7G+ER173g4bkjkBA7GhwE41jBoK2Tp/vZ6SypyG7ublKNoYBaFSdCqvf3wKNQvNCqiktw7DvAVd/m3w50AeM0rGvUKAh2RmDz3OVxiMHfBYR67GHicR5bBvNnwg6QJFRSmfVrJyEsD96RfCQpzNIqXB0Le78CxE9B4TdeLV+a01h86m7cIOQeLAsnGzO2WfTwe7djgkXMID/kAbc8aR71RqgvmkU2w2WxyHs4d55YVhcFFODYL7ttoWc6R8V5w653TywV/77I9pfapnynZPbYwyeONFXRMv8GsCd5UJSESA69kiaeSqTzI0YZ3fWO8twZgefp/AVXX/WtV6gXqllLw+9fFKJYfVHeaU+/D9d88Y80s0pZSn2SZ56ICEmrtmDr6c4U8HC2oaYWZefa3fMN0P0e3E/NbcD/eZbeEW/yF6G2hWicaax6RXcNnFkK4zV/YOfbo6BIIRxnhYRRCL1GAJS33gH6EtQOgXwroWCBZA28Tf/4mDiqaP9tnfBLa8Gwqg0zdFoNu0r/krj9ywqzlSr1J0otx4nHdEHFpQ5NvBoZpjEHYa7B0eXAO9RChqPuI=
file: MacVim-KaoriYa-$TRAVIS_TAG.dmg
skip_cleanup: true
on:
all_branches: true
tags: true
repo: splhack/macvim-kaoriya
# vim:set sts=2 sw=2 tw=0 et: