Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix data structure mismatch between Vagrantfile/.travis.yml (string v… #434

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Fix data structure mismatch between Vagrantfile/.travis.yml (string v…

…s array of strings).
  • Loading branch information
aweinstock314 committed Jul 8, 2016
commit ef2ddc39eea52f4231ab35e26cacc94bb12dc182
@@ -58,7 +58,8 @@ matrix:
language: python
python: 3.5
# Not a Salt node, runs test suite instead
- env: SALT_NODE_ID=test
- env:
- SALT_NODE_ID=test
os: linux
sudo: required
dist: trusty
@@ -1,7 +1,7 @@
require 'yaml'

def extract_id(env)
id = env.split.map do |env_var|
id = env.map do |env_var|
env_var[/^SALT_NODE_ID=(?<node_id>.+)$/, "node_id"]
end.compact
id[0]
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.