Skip to content

Commit 72bced9

Browse files
committed
Add prepare_build.sh
Signed-off-by: Dmitriy Zaporozhets <[email protected]>
1 parent 674e21c commit 72bced9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
before_script:
2+
- ./scripts/prepare_build.sh
23
- ruby -v
34
- which ruby
4-
- apt-get install libicu-dev -y
55
- gem install bundler --no-ri --no-rdoc
66
- bundle install
77

scripts/prepare_build.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
if [ -f /.dockerinit ]; then
3+
apt-get update -qq
4+
apt-get install -y -qq libicu-dev cmake
5+
else
6+
export PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
7+
fi

0 commit comments

Comments
 (0)