2014-11-01 00:46:24 -04:00
|
|
|
language: ruby
|
2015-02-28 13:00:36 -05:00
|
|
|
rvm:
|
|
|
|
- 2.2.0
|
2014-11-01 00:46:24 -04:00
|
|
|
|
2015-01-16 16:12:57 -05:00
|
|
|
install:
|
2015-01-29 03:37:35 -05:00
|
|
|
- sudo apt-get update
|
2015-01-16 16:12:57 -05:00
|
|
|
- sudo apt-get install -y libncurses-dev lib32ncurses5-dev
|
|
|
|
- sudo add-apt-repository -y ppa:pi-rho/dev
|
2015-02-28 13:00:36 -05:00
|
|
|
- sudo apt-add-repository -y ppa:fish-shell/release-2
|
2015-01-16 16:12:57 -05:00
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get install -y tmux=1.9a-1~ppa1~p
|
2015-02-28 13:00:36 -05:00
|
|
|
- sudo apt-get install -y zsh fish
|
2014-11-01 00:46:24 -04:00
|
|
|
|
2015-01-16 16:12:57 -05:00
|
|
|
script: |
|
2015-01-16 14:55:29 -05:00
|
|
|
export GOROOT=~/go1.4
|
|
|
|
export GOPATH=~/go
|
2015-01-16 16:12:57 -05:00
|
|
|
export FZF_BASE=~/go/src/github.com/junegunn/fzf
|
2015-01-16 14:55:29 -05:00
|
|
|
|
|
|
|
mkdir -p ~/go/src/github.com/junegunn
|
2015-01-16 16:12:57 -05:00
|
|
|
ln -s $(pwd) $FZF_BASE
|
2015-01-16 14:55:29 -05:00
|
|
|
|
2015-01-16 16:12:57 -05:00
|
|
|
curl https://storage.googleapis.com/golang/go1.4.1.linux-amd64.tar.gz | tar -xz
|
2015-01-16 14:55:29 -05:00
|
|
|
mv go $GOROOT
|
|
|
|
|
2015-01-16 20:51:39 -05:00
|
|
|
cd $FZF_BASE/src && make test fzf/fzf-linux_amd64 install &&
|
2015-01-16 16:12:57 -05:00
|
|
|
cd $FZF_BASE/bin && ln -sf fzf-linux_amd64 fzf-$(./fzf --version)-linux_amd64 &&
|
|
|
|
cd $FZF_BASE && yes | ./install &&
|
2015-03-10 13:12:38 -04:00
|
|
|
tmux new "ruby test/test_go.rb > out && touch ok" && cat out && [ -e ok ]
|