File: cibuild

package info (click to toggle)
ruby-rugged 1.1.0%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,692 kB
  • sloc: ansic: 8,721; ruby: 7,408; sh: 55; makefile: 5
file content (27 lines) | stat: -rwxr-xr-x 498 bytes parent folder | download | duplicates (3)
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
#!/bin/sh

set -ex

# change into root dir and setup path
cd $(dirname "$0")/..
PATH="$(pwd)/bin:$(pwd)/script:/usr/share/rbenv/shims:$PATH"

export RBENV_VERSION="2.1.2-github"
export CI_BUILD=1

# Write commit we're building at
git --no-pager log -n 1 || true
echo

git submodule update --init

(
    cd vendor/libgit2
    git fetch origin
    git reset -q --hard origin/master
)

bundle install --path vendor/gems --binstubs
bundle exec rake clean
bundle exec rake compile
bundle exec rake test