rultor.com logo This build log was produced by rultor.com for teamed/hoc#13
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 6690
+ echo '1.59.5 a0a412a'
1.59.5 a0a412a
+ date
Fri Dec 25 10:44:47 UTC 2015
+ uptime
 10:44:47 up 113 days, 23:07,  0 users,  load average: 1.88, 2.86, 5.14
+ head=git@github.com:teamed/hoc.git
+ head_branch=master
+ tag=0.7.1
+ vars=('--env=head=git@github.com:teamed/hoc.git' '--env=head_branch=master' '--env=tag=0.7.1')
+ image=yegor256/rultor
+ directory=
+ scripts=('sudo gem install --no-ri --no-rdoc pdd' ';' 'sudo apt-get install -y subversion diffstat' ';' 'sudo apt-get install -y software-properties-common' ';' 'sudo add-apt-repository -y ppa:git-core/ppa' ';' 'sudo apt-get update' ';' 'sudo apt-get remove -y git' ';' 'sudo apt-get install -y git' ';' 'sudo bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/hoc/version.rb' ';' 'git commit -m "${tag}" lib/hoc/version.rb' ';' 'gem build hoc.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=hoc.xml' ';' 's3cmd --no-progress put hoc.xml --config=../s3cfg s3://pdd.teamed.io/hoc.xml' ';')
+ container=teamed_hoc_13
+ as_root=false
+ mkdir -p /home/rultor/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone git@github.com:teamed/hoc.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'sudo gem install --no-ri --no-rdoc pdd' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'sudo gem install --no-ri --no-rdoc pdd' ';' 'sudo apt-get install -y subversion diffstat' ';' 'sudo apt-get install -y software-properties-common' ';' 'sudo add-apt-repository -y ppa:git-core/ppa' ';' 'sudo apt-get update' ';' 'sudo apt-get remove -y git' ';' 'sudo apt-get install -y git' ';' 'sudo bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/hoc/version.rb' ';' 'git commit -m "${tag}" lib/hoc/version.rb' ';' 'gem build hoc.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=hoc.xml' ';' 's3cmd --no-progress put hoc.xml --config=../s3cfg s3://pdd.teamed.io/hoc.xml' ';'
+ rm -rf .gpg
+ '[' -z 0.7.1 ']'
+ [[ 0.7.1 =~ ^[a-zA-Z0-9\\.\\-]+$ ]]
+ echo 'tag name is valid: "0.7.1"'
tag name is valid: "0.7.1"
+ cd repo
++ git tag -l 0.7.1
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=5.14
++ echo 5.14 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 5.14, low enough to run a new Docker container'
load average is 5.14, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor
+ docker pull yegor256/rultor
Using default tag: latest
Trying to pull repository docker.io/yegor256/rultor ... latest: Pulling from yegor256/rultor
9377ad319b00: Already exists
a82f81f25750: Already exists
b207c06aba70: Already exists
d55e68e6cc9c: Already exists
0ce25dcb938b: Already exists
0bdc92e31756: Already exists
3c547102ec5b: Already exists
7caa4a260137: Already exists
f59adfb007eb: Already exists
53e003e2e408: Already exists
449c033965a9: Already exists
a74e94f10d63: Already exists
326ed8ccef27: Already exists
89e3d7f8fba6: Already exists
d1439df93528: Already exists
90f2f386e4d7: Already exists
853cc8998436: Already exists
b0ecdef5ffac: Already exists
39e079fcc66f: Already exists
63bfba84fe6d: Already exists
776bd4d5056f: Already exists
aae14fa4e804: Already exists
6b9e4819d9e8: Already exists
8772ee114084: Already exists
6d4ed2875b9c: Already exists
6e5e257ce76c: Already exists
4926515ab404: Already exists
aa8b0185c5ae: Already exists
e68d8eed35b6: Already exists
85fd2bcfd177: Already exists
5b11f3a05ddb: Already exists
39ac8e4aad28: Already exists
eb9dea3ae6ce: Already exists
e32f7d68f8dd: Already exists
12f682674c51: Already exists
e926c3edd192: Already exists
1a8e698a4bc5: Already exists
287040fa5156: Already exists
d3c52cacbb05: Already exists
cc5fa59eb693: Already exists
8ea77fd80c3a: Already exists
0fb96375a5c9: Already exists
76f5c5f85828: Already exists
8717880fc99f: Already exists
98f2c1761db7: Already exists
4c5e66e6e339: Already exists
5cf09c925933: Already exists
329bb88a8c95: Already exists
6dc62d0d23ef: Already exists
a101634b138e: Already exists
98c2fc59337f: Already exists
8447fe28f395: Already exists
18eaa72750e3: Already exists
Digest: sha256:6f3b94cec6ef54839dbfa85d30a7c59127e5ac0dd6fe747cbcae184c65b9fe7c
Status: Image is up to date for docker.io/yegor256/rultor:latest

+ docker ps --filter=status=exited
+ grep --quiet '\steamed_hoc_13\s*$'
++ pwd
++ pwd
+ docker run --rm -v /tmp/rultor-O40F:/main --env=head=git@github.com:teamed/hoc.git --env=head_branch=master --env=tag=0.7.1 --privileged=true --hostname=docker --memory=6g --cidfile=/tmp/rultor-O40F/cid -w=/main --name=teamed_hoc_13 yegor256/rultor /main/entry.sh
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.gem /root/.java /root/.m2 /root/.npm /root/.profile /root/texmf /root/.texmf-var /root/tmp /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./s3cfg ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su -m r -c /home/r/script.sh
+ set -e
+ set -o pipefail
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ sudo gem install --no-ri --no-rdoc pdd
Successfully installed slop-3.6.0
Building native extensions.  This could take a while...

ruby-filemagic-0.7.1 [2015-10-27]:

* List default lib and header directories (pull request #18 by Adam Wróbel).

Successfully installed ruby-filemagic-0.7.1
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.6.7
Successfully installed pdd-0.15.2
4 gems installed
+ sudo apt-get install -y subversion diffstat
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libserf-1-1 libsvn1
Suggested packages:
  subversion-tools db5.3-util
The following NEW packages will be installed:
  diffstat libserf-1-1 libsvn1 subversion
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,259 kB of archives.
After this operation, 4,783 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libserf-1-1 amd64 1.3.3-1ubuntu0.1 [42.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libsvn1 amd64 1.8.8-1ubuntu3.2 [916 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main diffstat amd64 1.58-1 [21.8 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main subversion amd64 1.8.8-1ubuntu3.2 [280 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 1,259 kB in 2s (458 kB/s)
Selecting previously unselected package libserf-1-1:amd64.
(Reading database ... 71656 files and directories currently installed.)
Preparing to unpack .../libserf-1-1_1.3.3-1ubuntu0.1_amd64.deb ...
Unpacking libserf-1-1:amd64 (1.3.3-1ubuntu0.1) ...
Selecting previously unselected package libsvn1:amd64.
Preparing to unpack .../libsvn1_1.8.8-1ubuntu3.2_amd64.deb ...
Unpacking libsvn1:amd64 (1.8.8-1ubuntu3.2) ...
Selecting previously unselected package diffstat.
Preparing to unpack .../diffstat_1.58-1_amd64.deb ...
Unpacking diffstat (1.58-1) ...
Selecting previously unselected package subversion.
Preparing to unpack .../subversion_1.8.8-1ubuntu3.2_amd64.deb ...
Unpacking subversion (1.8.8-1ubuntu3.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libserf-1-1:amd64 (1.3.3-1ubuntu0.1) ...
Setting up libsvn1:amd64 (1.8.8-1ubuntu3.2) ...
Setting up diffstat (1.58-1) ...
Setting up subversion (1.8.8-1ubuntu3.2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
+ sudo apt-get install -y software-properties-common
Reading package lists...
Building dependency tree...
Reading state information...
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ sudo add-apt-repository -y ppa:git-core/ppa
gpg: keyring `/tmp/tmp5blhni0x/secring.gpg' created
gpg: keyring `/tmp/tmp5blhni0x/pubring.gpg' created
gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp5blhni0x/trustdb.gpg: trustdb created
gpg: key E1DF1F24: public key "Launchpad PPA for Ubuntu Git Maintainers" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
+ sudo apt-get update
Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty-security InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-updates/main Sources
Hit http://archive.ubuntu.com trusty-updates/restricted Sources
Hit http://archive.ubuntu.com trusty-updates/universe Sources
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Reading package lists...
+ sudo apt-get remove -y git
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  git-man liberror-perl rsync
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  git git-core
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 24.6 MB disk space will be freed.
(Reading database ... 71756 files and directories currently installed.)
Removing git-core (1:2.6.4-0ppa1~ubuntu14.04.1) ...
Removing git (1:2.6.4-0ppa1~ubuntu14.04.1) ...
+ sudo apt-get install -y git
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  git
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,994 kB of archives.
After this operation, 24.6 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/git-core/ppa/ubuntu/ trusty/main git amd64 1:2.6.4-0ppa1~ubuntu14.04.1 [3,994 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 3,994 kB in 1s (2,692 kB/s)
Selecting previously unselected package git.
(Reading database ... 71113 files and directories currently installed.)
Preparing to unpack .../git_1%3a2.6.4-0ppa1~ubuntu14.04.1_amd64.deb ...
Unpacking git (1:2.6.4-0ppa1~ubuntu14.04.1) ...
Setting up git (1:2.6.4-0ppa1~ubuntu14.04.1) ...
+ sudo bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.....
Using rake 10.4.2
Installing i18n 0.7.0
Using json 1.8.3
Installing minitest 5.4.0
Installing thread_safe 0.3.5
Installing builder 3.2.2
Installing erubis 2.7.0
Using mini_portile2 2.0.0
Installing rack 1.6.4
Installing ast 2.2.0
Installing multi_json 1.11.2
Installing unf_ext 0.0.7.1 with native extensions
Installing mime-types 2.99
Installing netrc 0.11.0
Installing docile 1.1.5
Installing simplecov-html 0.10.0
Installing tins 1.8.1
Installing thor 0.19.1
Installing diff-lcs 1.2.5
Installing multi_test 0.1.2
Using slop 3.6.0
Installing powerpack 0.0.9
Installing rainbow 2.0.0
Installing rspec-core 2.13.1
Installing rspec-mocks 2.13.1
Installing ruby-progressbar 1.7.5
Using bundler 1.11.2
Installing rdoc 3.11
Installing tzinfo 1.2.2
Using nokogiri 1.6.7.1
Installing rack-test 0.6.3
Installing parser 2.3.0.pre.6
Installing gherkin 2.12.2 with native extensions
Installing unf 0.1.4
Installing simplecov 0.11.1
Installing term-ansicolor 1.3.2
Installing rspec-expectations 2.13.0
Using hoc 1.0.snapshot from source at `.`
Installing activesupport 4.2.5
Installing loofah 2.0.3
Installing rubocop 0.24.1
Installing cucumber 1.3.11
Installing domain_name 0.5.25
Installing rails-deprecated_sanitizer 1.0.3
Installing rails-html-sanitizer 1.0.2
Installing rubocop-rspec 1.1.0
Installing http-cookie 1.0.2
Installing rails-dom-testing 1.0.7
Installing rest-client 1.8.0
Installing actionview 4.2.5
Installing coveralls 0.7.0
Installing actionpack 4.2.5
Installing railties 4.2.5
Installing rspec-rails 2.13.0
Bundle complete! 8 Gemfile dependencies, 54 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
+ rake
rm -rf coverage
/usr/bin/ruby2.2 -I"lib:lib:test"  "/usr/lib/ruby/2.2.0/rake/rake_test_loader.rb" "test/**/test_*.rb"
/home/r/repo/.simplecov:35:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
Run options: --seed 40230

# Running:

SChecked out revision 0.
A         test.txt
Adding         test.txt
Transmitting file data .
Committed revision 1.
Sending        test.txt
Transmitting file data .
Committed revision 2.
D         test.txt
Deleting       test.txt

Committed revision 3.
Updating '.':
At revision 3.
.Initialized empty Git repository in /tmp/test20151225-21081-c5evra/.git/
[master (root-commit) 4a6e4b5] add line
 1 file changed, 1 insertion(+)
 create mode 100644 test.txt
[master 175fbc1] modify line
 1 file changed, 1 insertion(+), 1 deletion(-)
[master d4524f8] delete line
 1 file changed, 1 deletion(-)
 delete mode 100644 test.txt
.Initialized empty Git repository in /tmp/test20151225-21081-15oqrba/.git/
fatal: your current branch 'master' does not have any commits yet
.Initialized empty Git repository in /tmp/test20151225-21081-6zicxm/.git/
65536+0 records in
65536+0 records out
65536 bytes (66 kB) copied, 0.199578 s, 328 kB/s
[master (root-commit) 46e889e] binary file
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 test.dat
65536+0 records in
65536+0 records out
65536 bytes (66 kB) copied, 0.288147 s, 227 kB/s
[master 691fb8c] binary file modified
 1 file changed, 0 insertions(+), 0 deletions(-)
 rewrite test.dat (99%)
.Checked out revision 0.
A         test.txt
Adding         test.txt
Transmitting file data .
Committed revision 1.
Sending        test.txt
Transmitting file data .
Committed revision 2.
D         test.txt
Deleting       test.txt

Committed revision 3.
Updating '.':
At revision 3.
...Initialized empty Git repository in /tmp/test20151225-21081-1ti5ijt/.git/
[master (root-commit) df822a8] test
 1 file changed, 1 insertion(+)
 create mode 100644 test.txt
.

Finished in 1.388189s, 6.4833 runs/s, 8.6444 assertions/s.

9 runs, 12 assertions, 0 failures, 0 errors, 1 skips

You have skipped tests. Run with --verbose for details.
Coverage report generated for Unit Tests to /home/r/repo/coverage. 48 / 48 LOC (100.0%) covered.
33m[Coveralls] Outside the Travis environment, not sending data.0m
/usr/bin/ruby2.2 -S bundle exec cucumber --format pretty --no-color --profile travis
/var/lib/gems/2.2.0/gems/cucumber-1.3.11/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name
/home/r/repo/.simplecov:35:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
Using the travis profile...
Feature: Command Line Processing
  As a source code writer I want to be able to
  calculate my hits-of-code metric

  Scenario: Help can be printed    # features/cli.feature:5
    When I run bin/hoc with "-h"   # features/step_definitions/steps.rb:57
    Then Exit code is zero         # features/step_definitions/steps.rb:69
    And Stdout contains "--format" # features/step_definitions/steps.rb:63

Feature: Gem Package
  As a source code writer I want to be able to
  package the Gem into .gem file

  Scenario: Gem can be packaged                  # features/gem_package.feature:5
    Given It is Unix                             # features/step_definitions/steps.rb:41
    Given I have a "execs.rb" file with content: # features/step_definitions/steps.rb:73
      """
      #!/usr/bin/env ruby
      require 'rubygems'
      spec = Gem::Specification::load('./spec.rb')
      fail 'no executables' if spec.executables.empty?
      """
    When I run bash:                             # features/step_definitions/steps.rb:49
      """
      cd hoc
      gem build hoc.gemspec
      gem specification --ruby hoc-*.gem > ../spec.rb
      cd ..
      ruby execs.rb
      """
    Then Exit code is zero                       # features/step_definitions/steps.rb:69

Feature: Git repo processing
  As a source code writer I want to be able to
  calculate my hits-of-code metric

  Scenario: Simple git repo          # features/git_basics.feature:5
    Given It is Unix                 # features/step_definitions/steps.rb:41
    Given I run bash:                # features/step_definitions/steps.rb:49
      """
      git init .
      git config user.email test@teamed.io
      git config user.name test
      echo 'hello, world!' > test.txt
      git add test.txt
      git commit -am test
      """
    When I run bin/hoc with "-f int" # features/step_definitions/steps.rb:57
    Then Exit code is zero           # features/step_definitions/steps.rb:69
    And Stdout contains "1"          # features/step_definitions/steps.rb:63

  Scenario: Real git repo                        # features/git_basics.feature:20
Cloning into 'hoc-repo'...
    Given I run bash:                            # features/step_definitions/steps.rb:49
      """
      git clone https://github.com/teamed/hoc.git hoc-repo
      """
    When I run bin/hoc with "-f int -d hoc-repo" # features/step_definitions/steps.rb:57
    Then Exit code is zero                       # features/step_definitions/steps.rb:69

Feature: Exclude dirs from Git counting
  As a source code writer I want to be able to
  exclude certain files from counting

  Scenario: Simple git repo                    # features/git_excludes.feature:5
    Given It is Unix                           # features/step_definitions/steps.rb:41
    Given I run bash:                          # features/step_definitions/steps.rb:49
      """
      git init .
      git config user.email test@teamed.io
      git config user.name test
      mkdir x
      echo 'hello, world!' > x/invalid.txt
      echo 'hello, world!' > valid.txt
      git add .
      git commit -am test
      """
    When I run bin/hoc with "-e x/** -e a.txt" # features/step_definitions/steps.rb:57
    Then Exit code is zero                     # features/step_definitions/steps.rb:69
    And Stdout contains "1"                    # features/step_definitions/steps.rb:63

Feature: SVN Repo Processing
  As a source code writer I want to be able to
  calculate my hits-of-code metric

  Scenario: Simple SVN repo                  # features/svn_basics.feature:5
    Given It is Unix                         # features/step_definitions/steps.rb:41
    Given I run bash:                        # features/step_definitions/steps.rb:49
      """
      svnadmin create base
      svn co file://$(pwd)/base repo
      cd repo
      echo 'Hello, world!' > test.txt
      svn add test.txt
      svn ci -m 'first commit'
      echo 'Bye!' > test.txt
      svn ci -m 'second commit'
      svn rm test.txt
      svn ci -m 'third commit'
      svn up
      """
    When I run bin/hoc with "-f int -d repo" # features/step_definitions/steps.rb:57
    Then Exit code is zero                   # features/step_definitions/steps.rb:69

  Scenario: Real SVN repo                    # features/svn_basics.feature:24
    Given I run bash:                        # features/step_definitions/steps.rb:49
      """
      svn co https://svn.apache.org/repos/asf/maven/skins/tags/maven-skins-9/src/site
      """
    When I run bin/hoc with "-f int -d site" # features/step_definitions/steps.rb:57
    Then Exit code is zero                   # features/step_definitions/steps.rb:69

Feature: Using .hoc config file
  As a source code writer I want to be able to
  call HOC as a command line tool and configure
  it via .hoc configuration file

  Scenario: Simple hoc counting      # features/uses_config.feature:6
    Given It is Unix                 # features/step_definitions/steps.rb:41
    Given I run bash:                # features/step_definitions/steps.rb:49
      """
      echo '--help' > .hoc
      """
    When I run bin/hoc with "-f int" # features/step_definitions/steps.rb:57
    Then Exit code is zero           # features/step_definitions/steps.rb:69
    And Stdout contains "[options]"  # features/step_definitions/steps.rb:63

8 scenarios (8 passed)
32 steps (32 passed)
0m9.215s
Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 48 / 48 LOC (100.0%) covered.
33m[Coveralls] Outside the Travis environment, not sending data.0m
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.4-compliant syntax, but you are running 2.2.3.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Running RuboCop...
Inspecting 14 files
..............

14 files inspected, no offenses detected
+ rm -rf '*.gem'
+ sed -i 's/1\.0\.snapshot/0.7.1/g' lib/hoc/version.rb
+ git commit -m 0.7.1 lib/hoc/version.rb
[__rultor bbd92e6] 0.7.1
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build hoc.gemspec
  Successfully built RubyGem
  Name: hoc
  Version: 0.7.1
  File: hoc-0.7.1.gem
+ chmod 0600 ../rubygems.yml
+ gem push hoc-0.7.1.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: hoc (0.7.1)
++ pwd
+ pdd --source=/home/r/repo --verbose --file=hoc.xml
INFO: &quot;my version is 0.15.2&quot;
INFO: &quot;Ruby version is 2.2.3 at x86_64-linux-gnu&quot;
INFO: &quot;reading /home/r/repo&quot;
INFO: &quot;66 file(s) found&quot;
INFO: &quot;reading Gemfile...&quot;
INFO: &quot;reading Gemfile.lock...&quot;
INFO: &quot;reading LICENSE.txt...&quot;
INFO: &quot;reading README.md...&quot;
INFO: &quot;reading Rakefile...&quot;
INFO: &quot;reading appveyor.yml...&quot;
INFO: &quot;reading bin/hoc...&quot;
INFO: &quot;reading coverage/assets/0.10.0/application.css..."
INFO: "reading coverage/assets/0.10.0/application.js..."
INFO: "reading coverage/index.html..."
INFO: "reading cucumber.yml..."
INFO: "reading features/cli.feature..."
INFO: "reading features/gem_package.feature..."
INFO: "reading features/git_basics.feature..."
INFO: "reading features/git_excludes.feature..."
INFO: "reading features/step_definitions/steps.rb..."
INFO: "reading features/support/env.rb..."
INFO: "reading features/svn_basics.feature..."
INFO: "reading features/uses_config.feature..."
INFO: "reading hoc.gemspec..."
INFO: "reading lib/hoc.rb..."
INFO: "reading lib/hoc/git.rb..."
INFO: "reading lib/hoc/hits.rb..."
INFO: "reading lib/hoc/svn.rb..."
INFO: "reading lib/hoc/version.rb..."
INFO: "reading test/test__helper.rb..."
INFO: "reading test/test_git.rb..."
INFO: "reading test/test_hoc.rb..."
INFO: "reading test/test_svn.rb..."
+ s3cmd --no-progress put hoc.xml --config=../s3cfg s3://pdd.teamed.io/hoc.xml
WARNING: Module python-magic is not available. Guessing MIME types based on file extensions.
File 'hoc.xml' stored as 's3://pdd.teamed.io/hoc.xml' (278 bytes in 0.1 seconds, 3.96 kB/s) [1 of 1]
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.7.1 -m '0.7.1: tagged by rultor.com'
+ git reset --hard
HEAD is now at bbd92e6 0.7.1
+ git clean -fd
Removing hoc.xml
+ git checkout master
Switched to branch 'master'
+ git branch -D __rultor
Deleted branch __rultor (was bbd92e6).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:teamed/hoc.git
 * [new tag]         0.7.1 -> 0.7.1
container 0cd359b246acf034779f18f0dbd10f390d5353d065e11297e5867bf0f6cce5df is dead