windows - How to make AppVeyor use different versions of Emacs? -
i want use different versions of emacs. think have build matrix feature. have searched around , cannot find how done.
i going use choco install packages. default version emacs24. emacs25 available via unofficial package.
i want install different versions of same software , run simultaneous builds.
here wishful attempt of (this doesn't work way):
matrix: - emacs: "24" - emacs: "25" install: - ps : switch($emacs){ "24" {choco install emacs} "25" {choco install emacs64} default {echo "emacs install fail"}} - refreshenv build_script: - script thanks in advance.
emacs environment variable (not local one). yaml syntax require environment tag before matrix. can create configuration in ui , press export yaml button if not sure. , not space between ps , :. other config good. here fixed one:
environment: matrix: - emacs: 24 - emacs: 25 install: - ps: switch($env:emacs){ 24 {choco install emacs} 25 {choco install emacs64} default {echo "emacs install fail"}} - refreshenv side note: recommend throw "emacs install fail" instead of echo.
wiki
Comments
Post a Comment