Sha256: 00c2260b245f5e94aca8d2677e5c85c45ec3e7d363521994f6201119b7c668cf

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

#!/usr/bin/env ruby

def exec(cmd, exit_if_fail = true)
  env = {'CI' => 'true'}
  system env, cmd
  if exit_if_fail && $?.exitstatus != 0
    puts "`#{cmd}` failed"
    exit $?.exitstatus
  end

  $?.exitstatus
end

exec('env USE_SYSTEM_GECODE=1 bundle install --path=vendor/bundle --jobs=4')

exec 'bundle exec rake spec:unit'

exec 'bundle exec rake spec:integration:prepare'
status = exec('bundle exec rake spec:integration', false)
exec 'bundle exec rake spec:integration:clean'
exit status

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
infrataster-0.1.9 ci/jenkins_build
infrataster-0.1.8 ci/jenkins_build
infrataster-0.1.7 ci/jenkins_build
infrataster-0.1.6 ci/jenkins_build
infrataster-0.1.5 ci/jenkins_build