summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorJack Bates <jack@nottheoilrig.com>2020-04-12 08:23:31 -0700
committerGitHub <noreply@github.com>2020-04-13 00:23:31 +0900
commit5deaf589281ff606874bc7db2fd01ed7cf1e7f45 (patch)
treec1ea78d72584f8091d92195db75b5ddde63f0f0f /.travis.yml
parent15e2952a2b81cdccec993e1b0e3c5d59d78f8b16 (diff)
Run rubocop --auto-correct --disable-uncorrectable (#1967)
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 32b3b691..8cd544d8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,9 +14,11 @@ addons:
- fish
- tmux
update: true
+install: gem install rubocop rubocop-performance
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?
- make install && ./install --all && LC_ALL=C tmux new-session -d && ruby test/test_go.rb --verbose
+ - rubocop --require rubocop-performance