mirror of
https://github.com/zunit-zsh/zunit.git
synced 2026-09-10 06:36:15 -04:00
First attempt at using zvm to test multiple versions
This commit is contained in:
parent
58180e4f44
commit
eebd28a432
16
.travis.yml
16
.travis.yml
|
|
@ -3,10 +3,22 @@ addons:
|
|||
packages:
|
||||
zsh
|
||||
dist: trusty
|
||||
matrix:
|
||||
include:
|
||||
#- env: ZVM_VERSION='4.3.12'
|
||||
#- env: ZVM_VERSION='4.3.17'
|
||||
- env: ZVM_VERSION='5.0.8'
|
||||
- env: ZVM_VERSION='5.1.1'
|
||||
- env: ZVM_VERSION='5.2'
|
||||
- env: ZVM_VERSION='5.3.1'
|
||||
before_script:
|
||||
- mkdir .bin
|
||||
- curl -L https://raw.githubusercontent.com/molovo/revolver/master/revolver > .bin/revolver
|
||||
- curl -L https://raw.githubusercontent.com/molovo/color/master/color.zsh > .bin/color
|
||||
- chmod u+x .bin/{color,revolver}
|
||||
- curl -L https://raw.githubusercontent.com/molovo/zvm/master/zvm > .bin/zvm
|
||||
- curl -L https://raw.githubusercontent.com/molovo/zvm/master/zvm-shell-integration.zsh > zvm-shell-integration.zsh
|
||||
- chmod u+x .bin/{color,revolver,zvm}
|
||||
- export PATH="$PWD/.bin:$PATH"
|
||||
script: ./zunit
|
||||
- zvm use ${ZVM_VERSION}
|
||||
script: zsh -c "source zvm-shell-integration.zsh && zsh -c \"echo \$ZSH_VERSION\" && ./zunit"
|
||||
after_failure: cat ~/.zvm/log/*.log
|
||||
|
|
|
|||
Loading…
Reference in a new issue