2018-12-13 05:36:15 +00:00
|
|
|
language: go
|
2020-02-21 00:51:34 +00:00
|
|
|
env: GO111MODULE=on
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
dist: bionic # For fish >= 2.3.0 string builtin
|
2018-12-13 05:36:15 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-02-21 00:51:34 +00:00
|
|
|
- fish
|
|
|
|
- zsh
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- fish
|
|
|
|
- tmux
|
|
|
|
update: true
|
2020-04-12 15:23:31 +00:00
|
|
|
install: gem install rubocop rubocop-performance
|
2020-02-21 00:51:34 +00:00
|
|
|
script:
|
|
|
|
- make test
|
|
|
|
# LC_ALL=C to avoid escape codes in
|
|
|
|
# printf %q $'\355\205\214\354\212\244\355\212\270' on macOS. Bash on
|
|
|
|
# macOS is built without HANDLE_MULTIBYTE?
|
2020-02-28 09:47:13 +00:00
|
|
|
- make install && ./install --all && LC_ALL=C tmux new-session -d && ruby test/test_go.rb --verbose
|
2020-04-12 15:23:31 +00:00
|
|
|
- rubocop --require rubocop-performance
|