2018-12-13 05:36:15 +00:00
|
|
|
language: go
|
|
|
|
dist: xenial
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- sourceline: "ppa:pi-rho/dev"
|
|
|
|
- sourceline: "ppa:fish-shell/release-2"
|
|
|
|
packages:
|
|
|
|
- tmux
|
|
|
|
- zsh
|
|
|
|
- fish
|
|
|
|
|
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
|
|
|
|
|
|
|
jobs:
|
2016-11-06 17:15:34 +00:00
|
|
|
include:
|
2018-12-13 05:36:15 +00:00
|
|
|
- stage: unittest
|
|
|
|
go: "1.11.x"
|
|
|
|
script: make && make test
|
2014-11-01 04:46:24 +00:00
|
|
|
|
2018-12-13 05:36:15 +00:00
|
|
|
- stage: cli
|
|
|
|
go: "1.11.x"
|
|
|
|
rvm: "2.5"
|
|
|
|
script: |
|
|
|
|
make install && ./install --all && tmux new "ruby test/test_go.rb > out && touch ok" && cat out && [ -e ok ]
|
2014-11-01 04:46:24 +00:00
|
|
|
|