First attempt at using zvm to test multiple versions

This commit is contained in:
James Dinsdale 2017-02-18 16:22:16 +00:00
parent 58180e4f44
commit eebd28a432
No known key found for this signature in database
GPG key ID: DBCB56BD98007031
2 changed files with 15 additions and 2 deletions

View file

@ -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

1
.zvmrc Normal file
View file

@ -0,0 +1 @@
4.3.12