Escaping the Travis environment for unknown packages
This commit is contained in:
parent
1c96b80fc1
commit
8db8f9b167
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
salt-call --local --config=./ --state-output=changes grains.setvals "{ \"user\": \"$(whoami)\", \"group\": \"$(id -g -n $(whoami))\", \"homedir\": \"$HOME\" }"
|
salt-call --local --config=./ --state-output=changes grains.setvals "{ \"user\": \"$(whoami)\", \"group\": \"$(id -g -n $(whoami))\", \"homedir\": \"$HOME\", \"travis\": True }"
|
||||||
|
|
|
@ -2,9 +2,11 @@ zsh:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: zsh
|
- name: zsh
|
||||||
|
|
||||||
|
{% if grains['travis'] != True %}
|
||||||
zsh-syntax-highlighting:
|
zsh-syntax-highlighting:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: zsh-syntax-highlighting
|
- name: zsh-syntax-highlighting
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if grains['kernel'] == 'Darwin' %}
|
{% if grains['kernel'] == 'Darwin' %}
|
||||||
zsh-completions:
|
zsh-completions:
|
||||||
|
|
Loading…
Reference in a new issue