forked from BIAndrews/ec2tagfacts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qa.sh
executable file
·41 lines (32 loc) · 606 Bytes
/
qa.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
#
# Kinda like a local travisCI run
#
#######################################
# need ruby dev
gem install io-console
bundle install > /dev/null
PUPPET_GEM_VERSION="~> 3.3.0"
bundle update > /dev/null
rake spec
if [ $? -ne 0 ];then
echo "ERROR with puppet 3.3"
exit 1;
fi
PUPPET_GEM_VERSION="~> 3.8.0"
bundle update > /dev/null
rake spec
if [ $? -ne 0 ];then
echo "ERROR with puppet 3.8"
exit 1;
fi
PUPPET_GEM_VERSION="~> 4.8.0"
bundle update > /dev/null
rake spec
if [ $? -ne 0 ];then
echo "ERROR with puppet 4.8"
exit 1;
fi
echo "
Verified with puppet 3.3, 3.8, and 4.8
"