Simplify FreeBSD setup for tests.
This commit is contained in:
parent
4a013d6d69
commit
2146bb57ce
1 changed files with 6 additions and 10 deletions
|
@ -9,25 +9,21 @@ env
|
|||
cd ~/
|
||||
|
||||
if [ "${platform}" = "freebsd" ]; then
|
||||
pkg install -y curl
|
||||
|
||||
if [ ! -f bootstrap.sh ]; then
|
||||
curl "https://raw.githubusercontent.com/mattclay/ansible-hacking/master/bootstrap.sh" -o bootstrap.sh -#
|
||||
fi
|
||||
|
||||
chmod +x bootstrap.sh
|
||||
./bootstrap.sh pip -y -q
|
||||
|
||||
pkg install -y \
|
||||
bash \
|
||||
curl \
|
||||
devel/ruby-gems \
|
||||
git \
|
||||
gtar \
|
||||
mercurial \
|
||||
python \
|
||||
rsync \
|
||||
ruby \
|
||||
subversion \
|
||||
sudo \
|
||||
zip
|
||||
zip \
|
||||
|
||||
pip --version 2>/dev/null || curl --silent --show-error https://bootstrap.pypa.io/get-pip.py | python
|
||||
elif [ "${platform}" = "rhel" ]; then
|
||||
yum update -y
|
||||
|
||||
|
|
Loading…
Reference in a new issue