mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-16 10:15:09 +00:00
6f1eaa9b39
* Update .travis.yml and use stages This updates the .travis.yml configuration to use separate stages for unittests and CLI tests. The output is now clearer, since for unittests and CLI tests separate web pages are available. * Use go modules and simplify build
28 lines
488 B
YAML
28 lines
488 B
YAML
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:
|
|
include:
|
|
- stage: unittest
|
|
go: "1.11.x"
|
|
script: make && make test
|
|
|
|
- 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 ]
|
|
|