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

Update Travis configuration to test all node types. #97

Merged
merged 15 commits into from Oct 28, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Add workarounds for missing pillar data and ancient bash.

Highstate will fail because no [fake] pillar data is supplied.
The bash Apple ships is too old to have the -v feature, so take it out
to prevent a syntax error.
  • Loading branch information
aneeshusa committed Oct 27, 2015
commit 493e0e17193186ff3b687ff13d878100bd98144e
@@ -32,7 +32,7 @@ script:
# Minimally validate YAML and Jinja at a basic level
- sudo salt-call --id="${SALT_NODE_ID}" --retcode-passthrough state.show_highstate
# Full on installation test
- sudo salt-call --id="${SALT_NODE_ID}" --retcode-passthrough state.highstate
- sudo salt-call --id="${SALT_NODE_ID}" state.highstate

notifications:
webhooks: http://build.servo.org:54856/travis
@@ -11,10 +11,6 @@ elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
brew update
brew install saltstack
else
if [[ -v TRAVIS_OS_NAME ]]; then
printf >&2 "$0: unknown os type ${TRAVIS_OS_NAME}\n"
else
printf >&2 "$0: environment variable TRAVIS_OS_NAME not set\n"
fi
printf >&2 "$0: environment variable TRAVIS_OS_NAME not set or set to unknown value\n"
exit 1
fi
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.