File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ before_install:
15
15
- sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate python-docutils pkg-config cmake git-core
16
16
- psql -c 'CREATE USER git CREATEDB;' -U postgres
17
17
- psql -c 'CREATE DATABASE gitlabhq_production OWNER git;' -U postgres
18
+ - rvm use 2.1.1
18
19
- scripts/prepare_test_env.sh
19
20
- scripts/install_gitlab.sh
20
21
# command to install dependencies
Original file line number Diff line number Diff line change 4
4
git clone --depth=1 https://gitlab.com/gitlab-org/gitlab-ce.git -b 7-2-stable gitlab
5
5
cd /home/travis/gitlab
6
6
sh -c " cat config/gitlab.yml.example | sed 's/port: 80/port: 8080/g' > config/gitlab.yml"
7
+ sh -c " sed -i s_/home/git/gitlab-shell/_/home/travis/gitlab-shell/_g config/gitlab.yml"
7
8
chmod -R u+rwX log/
8
9
chmod -R u+rwX tmp/
9
10
mkdir /home/travis/gitlab-satellites
@@ -22,8 +23,8 @@ bundle install -j4 --deployment --without development test mysql aws
22
23
# install gitlab shell
23
24
bundle exec rake gitlab:shell:install[v1.9.7] REDIS_URL=redis://localhost:6379 RAILS_ENV=production
24
25
echo " yes" | bundle exec rake gitlab:setup RAILS_ENV=production
25
- cp lib/support/init.d/gitlab /etc/init.d/gitlab
26
- update-rc.d gitlab defaults 21
26
+ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
27
+ sudo update-rc.d gitlab defaults 21
27
28
bundle exec rake gitlab:env:info RAILS_ENV=production
28
29
bundle exec rake assets:precompile RAILS_ENV=production
29
30
service gitlab restart
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
# install ruby
3
- rvm use 2.1.1
4
3
bundle --version
You can’t perform that action at this time.
0 commit comments