summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: e3683bff1422dbe590c0a0bf2b2668c56a411ff4 (plain)
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
language: go
go:
  - "1.14"
env: GO111MODULE=on
os:
  - linux
  - osx
dist: bionic
addons:
  apt:
    packages:
      - fish
      - zsh
    sources:
      sourceline: ppa:fish-shell/release-3
  homebrew:
    packages:
      - fish
      - tmux
    update: true
install: gem install --no-document minitest:5.14.2 rubocop:1.0.0 rubocop-minitest:0.10.1 rubocop-performance:1.8.1
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-minitest --require rubocop-performance