Skip to content

Commit

Permalink
Run tests slower on CI.
Browse files Browse the repository at this point in the history
¯\_(ツ)_/¯ on CI tests breaks if they run too fast.
  • Loading branch information
kassio committed Sep 9, 2016
1 parent acb289e commit c46ea0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ before_install: sudo apt-get install vim-gtk
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: "bin/rspec --color -f d"
script: "CI=true bin/rspec --color -f d"
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def reindent(code)
@vim.normal 'ggVG999<<'
# force vim to indent the file
@vim.normal 'gg=G'
sleep 0.1 if ENV['CI']
end
end

Expand Down

0 comments on commit c46ea0e

Please sign in to comment.