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
|
||||
|
||||
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:
|
||||
- name: zsh
|
||||
|
||||
{% if grains['travis'] != True %}
|
||||
zsh-syntax-highlighting:
|
||||
pkg.installed:
|
||||
- name: zsh-syntax-highlighting
|
||||
{% endif %}
|
||||
|
||||
{% if grains['kernel'] == 'Darwin' %}
|
||||
zsh-completions:
|
||||
|
|
Loading…
Reference in a new issue