2014-11-01 13:46:24 +09:00
|
|
|
language: ruby
|
2016-11-07 02:15:34 +09:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env: TAGS=
|
2017-01-08 01:30:31 +09:00
|
|
|
rvm: 2.3.3
|
2016-11-07 02:15:34 +09:00
|
|
|
# - env: TAGS=tcell
|
|
|
|
# rvm: 2.2.0
|
2014-11-01 13:46:24 +09:00
|
|
|
|
2015-01-17 06:12:57 +09:00
|
|
|
install:
|
2015-01-29 17:37:35 +09:00
|
|
|
- sudo apt-get update
|
2015-09-19 18:39:09 +09:00
|
|
|
- sudo apt-get install -y libncurses-dev lib32ncurses5-dev libgpm-dev
|
2015-01-17 06:12:57 +09:00
|
|
|
- sudo add-apt-repository -y ppa:pi-rho/dev
|
2015-03-01 03:00:36 +09:00
|
|
|
- sudo apt-add-repository -y ppa:fish-shell/release-2
|
2015-01-17 06:12:57 +09:00
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get install -y tmux=1.9a-1~ppa1~p
|
2015-03-01 03:00:36 +09:00
|
|
|
- sudo apt-get install -y zsh fish
|
2014-11-01 13:46:24 +09:00
|
|
|
|
2015-01-17 06:12:57 +09:00
|
|
|
script: |
|
2015-01-17 04:55:29 +09:00
|
|
|
export GOPATH=~/go
|
2015-04-14 22:23:11 +09:00
|
|
|
export FZF_BASE=$GOPATH/src/github.com/junegunn/fzf
|
2015-01-17 04:55:29 +09:00
|
|
|
|
2015-04-14 22:23:11 +09:00
|
|
|
mkdir -p $GOPATH/src/github.com/junegunn
|
2015-01-17 06:12:57 +09:00
|
|
|
ln -s $(pwd) $FZF_BASE
|
2015-01-17 04:55:29 +09:00
|
|
|
|
2015-01-17 10:51:39 +09:00
|
|
|
cd $FZF_BASE/src && make test fzf/fzf-linux_amd64 install &&
|
2015-01-17 06:12:57 +09:00
|
|
|
cd $FZF_BASE/bin && ln -sf fzf-linux_amd64 fzf-$(./fzf --version)-linux_amd64 &&
|
2015-04-14 22:23:11 +09:00
|
|
|
cd $FZF_BASE && yes | ./install && rm -f fzf &&
|
2015-03-11 02:12:38 +09:00
|
|
|
tmux new "ruby test/test_go.rb > out && touch ok" && cat out && [ -e ok ]
|