-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvagrant.ci.sh
23 lines (18 loc) · 859 Bytes
/
vagrant.ci.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env bash
sudo yum -y update
sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo yum -y install --enablerepo=remi --enablerepo=remi-php55 php php-opcache php-devel php-mbstring php-intl php-pdo
echo 'date.timezone = Asia/Tokyo' | sudo tee --append /etc/php.ini > /dev/null
sudo yum -y install git
sudo yum -y install vim
sudo yum -y install ant
sudo yum install -y dejavu-sans-fonts
sudo chown vagrant:vagrant /var/www
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum -y install jenkins
sudo yum -y install java-devel
sudo /sbin/service jenkins start
sudo chkconfig jenkins on
sudo /sbin/service iptables stop