diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-04-14 22:23:11 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-04-15 01:58:39 +0900 |
commit | b882de87ab4bbd303dbcd7e5d928862b509a09d1 (patch) | |
tree | 711f0aa8f3c0118d78cd551c9aef1ac93e0e8e14 /.travis.yml | |
parent | 2d68cb8639a78ec6b7e88dd71e2ce1a638e5f8ea (diff) |
Fix Travis CI build
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index cce98fff..cbd5c11f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,17 +12,13 @@ install: - sudo apt-get install -y zsh fish script: | - export GOROOT=~/go1.4 export GOPATH=~/go - export FZF_BASE=~/go/src/github.com/junegunn/fzf + export FZF_BASE=$GOPATH/src/github.com/junegunn/fzf - mkdir -p ~/go/src/github.com/junegunn + mkdir -p $GOPATH/src/github.com/junegunn ln -s $(pwd) $FZF_BASE - curl https://storage.googleapis.com/golang/go1.4.1.linux-amd64.tar.gz | tar -xz - mv go $GOROOT - cd $FZF_BASE/src && make test fzf/fzf-linux_amd64 install && cd $FZF_BASE/bin && ln -sf fzf-linux_amd64 fzf-$(./fzf --version)-linux_amd64 && - cd $FZF_BASE && yes | ./install && + cd $FZF_BASE && yes | ./install && rm -f fzf && tmux new "ruby test/test_go.rb > out && touch ok" && cat out && [ -e ok ] |