{"action":"closed","issue":{"url":"https://api.github.com/repos/Shippable/support/issues/1020","labels_url":"https://api.github.com/repos/Shippable/support/issues/1020/labels{/name}","comments_url":"https://api.github.com/repos/Shippable/support/issues/1020/comments","events_url":"https://api.github.com/repos/Shippable/support/issues/1020/events","html_url":"https://github.com/Shippable/support/issues/1020","id":56161980,"number":1020,"title":"Tests running twice...","user":{"login":"luigi7up","id":609403,"avatar_url":"https://avatars.githubusercontent.com/u/609403?v=3","gravatar_id":"","url":"https://api.github.com/users/luigi7up","html_url":"https://github.com/luigi7up","followers_url":"https://api.github.com/users/luigi7up/followers","following_url":"https://api.github.com/users/luigi7up/following{/other_user}","gists_url":"https://api.github.com/users/luigi7up/gists{/gist_id}","starred_url":"https://api.github.com/users/luigi7up/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigi7up/subscriptions","organizations_url":"https://api.github.com/users/luigi7up/orgs","repos_url":"https://api.github.com/users/luigi7up/repos","events_url":"https://api.github.com/users/luigi7up/events{/privacy}","received_events_url":"https://api.github.com/users/luigi7up/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-01T12:26:46Z","updated_at":"2015-02-03T00:49:50Z","closed_at":"2015-02-03T00:49:50Z","body":"Hi guys, \r\n\r\nI've just noticed that all my tests are running 2 times e.g. https://app.shippable.com/builds/54ce0db29c08c40d00304c31\r\n\r\noutput in __console ->script -> rake__ says:\r\n\r\n```\r\nrm -rf shippable/testresults\r\n/home/shippable/.rvm/rubies/ruby-2.1.3/bin/ruby -I/home/shippable/.rvm/gems/ruby-2.1.3@[my-gemset]/gems/rspec-core-3.1.2/lib:/home/shippable/.rvm/gems/ruby-2.1.3@[my-gemset]/gems/rspec-support-3.1.0/lib /home/shippable/.rvm/gems/ruby-2.1.3@[my-gemset]/gems/rspec-core-3.1.2/exe/rspec --pattern spec/\\*\\*\\{,/\\*/\\*\\*\\}/\\*_spec.rb\r\nRun options:\r\n  include {:focus=>true}\r\n  exclude {:broken=>true}\r\n....\r\nFinished in 10 minutes 11 seconds (files took 22.23 seconds to load)\r\n178 examples, 0 failures, 22 pending\r\n\r\n\r\n/home/shippable/.rvm/rubies/ruby-2.1.3/bin/ruby -I/home/shippable/.rvm/gems/ruby-2.1.3@[my-gemset]/gems/rspec-core-3.1.2/lib:/home/shippable/.rvm/gems/ruby-2.1.3@[my-gemset]/gems/rspec-support-3.1.0/lib /home/shippable/.rvm/gems/ruby-2.1.3@[my-gemset]/gems/rspec-core-3.1.2/exe/rspec --pattern spec/\\*\\*\\{,/\\*/\\*\\*\\}/\\*_spec.rb\r\nRun options:\r\n  include {:focus=>true}\r\n  exclude {:broken=>true}\r\n....\r\nFinished in 7 minutes 5 seconds (files took 28.34 seconds to load)\r\n178 examples, 0 failures, 22 pending\r\n```\r\n\r\nshippable.yml\r\n\r\n```\r\nlanguage: ruby\r\nrvm:\r\n  - 2.1.3\r\nenv:\r\n  - CI_REPORTS=shippable/testresults COVERAGE_REPORTS=shippable/codecoverage CAPYBARA_PAGE_PATH=shippable/capybara\r\narchive: true\r\n\r\n# if a commit has this: [reset_minion] - will reset the cached container and start over for that build  on a pristine environment\r\n# http://blog.shippable.com/faster-builds-with-cached-containers\r\ncache: true\r\n\r\nservices:\r\n  - selenium\r\n  # - memcached\r\n  # - redis\r\n\r\naddons:\r\n  postgresql: '9.3'\r\n  firefox: \"31.0\"\r\n  selenium: \"2.43\"\r\nbefore_install:\r\n   - rvm rvmrc trust .\r\nbefore_script:\r\n   # ensure the test output and coverage dirs are created\r\n   - \"export DISPLAY=:99.0\"\r\n   - \"/etc/init.d/xvfb start\"\r\n   - mkdir -p shippable/testresults\r\n   - cp config/database.yml.shippable config/database.yml\r\n   # - psql -c 'create database \"ria_test\";' -U postgres\r\n   - rake db:create RAILS_ENV=test\r\n   - rake db:schema:load RAILS_ENV=test\r\nafter_script:\r\n  - \"/etc/init.d/xvfb stop\"\r\n```\r\n\r\nI have something setup wrong, but I have no clue what might be causing this.\r\n\r\nThank you"}}