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

Pin salt-minion version to 2015.5.

2015.8.0 causes breakage on OS x and 2015.8.1, which fixes it, is not
yet available in homebrew.

Use 2015.5.6 for Ubuntu 12.04 and 2015.5.5 for OS X.
  • Loading branch information
aneeshusa committed Oct 27, 2015
commit 81d9e63688df36777879e69d4f2b3cc30c5dcfc4
@@ -1,15 +1,18 @@
#!/usr/bin/env bash

# Ensure that pinned versions match as closely as possible

if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
printf "$0: installing salt for Linux\n"
# Travis uses Ubuntu 12.04
sudo add-apt-repository -y ppa:saltstack/salt
# Travis uses Ubuntu 12.04 (Precise Pangolin)
wget -O - https://repo.saltstack.com/apt/ubuntu/ubuntu12/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
printf 'deb http://repo.saltstack.com/apt/ubuntu/ubuntu12/2015.5 precise main\n' | sudo tee -a /etc/apt/sources.list >/dev/null
sudo apt-get -y update
sudo apt-get -y install salt-minion
sudo apt-get -y install salt-minion=2015.5.6+ds-1
elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
printf "$0: installing salt for Mac OS X\n"
brew update
brew install saltstack
brew install https://raw.githubusercontent.com/Homebrew/homebrew/86efec6695b019762505be440798c46d50ebd738/Library/Formula/saltstack.rb
else
printf >&2 "$0: environment variable TRAVIS_OS_NAME not set or set to unknown value\n"
exit 1
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.