mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-16 10:11:25 +01:00
Set up circle ci
This commit is contained in:
parent
468b7403e9
commit
39762ecd97
4 changed files with 19 additions and 0 deletions
|
@ -12,3 +12,7 @@ indent_style = space
|
|||
[*.rb]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.yml]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
|
1
Makefile
1
Makefile
|
@ -32,4 +32,5 @@ clean:
|
|||
|
||||
.PHONY: test
|
||||
test: all
|
||||
@test -n "$$TEST_ZSH_BIN" && echo "Testing zsh binary: $(TEST_ZSH_BIN)" || true
|
||||
bundle exec rspec $(TESTS)
|
||||
|
|
|
@ -4,6 +4,8 @@ _[Fish](http://fishshell.com/)-like fast/unobtrusive autosuggestions for zsh._
|
|||
|
||||
It suggests commands as you type, based on command history.
|
||||
|
||||
[![CircleCI](https://circleci.com/gh/zsh-users/zsh-autosuggestions.svg?style=svg)](https://circleci.com/gh/zsh-users/zsh-autosuggestions)
|
||||
|
||||
<a href="https://asciinema.org/a/37390" target="_blank"><img src="https://asciinema.org/a/37390.png" width="400" /></a>
|
||||
|
||||
|
||||
|
|
12
circle.yml
Normal file
12
circle.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
machine:
|
||||
environment:
|
||||
ZSH_VERSIONS: 5.0.8 5.1.1 5.2 5.3.1
|
||||
|
||||
dependencies:
|
||||
pre:
|
||||
- for v in $(echo $ZSH_VERSIONS | awk "{ for (i=$((1+CIRCLE_NODE_INDEX));i<=NF;i+=$CIRCLE_NODE_TOTAL) print \$i }"); do wget https://sourceforge.net/projects/zsh/files/zsh/$v/zsh-$v.tar.gz && tar xzf zsh-$v.tar.gz && cd zsh-$v && ./configure && sudo make install || exit 1; done
|
||||
|
||||
test:
|
||||
override:
|
||||
- for v in $(echo $ZSH_VERSIONS | awk "{ for (i=$((1+CIRCLE_NODE_INDEX));i<=NF;i+=$CIRCLE_NODE_TOTAL) print \$i }"); do TEST_ZSH_BIN=/usr/local/bin/zsh-$v make test || exit 1; done:
|
||||
parallel: true
|
Loading…
Reference in a new issue