File tree Expand file tree Collapse file tree 5 files changed +30
-1
lines changed
Expand file tree Collapse file tree 5 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1+ Gemfile.lock
12vim /bundle
23vim /doc
34vim /.netrwhist
Original file line number Diff line number Diff line change 1+ source :rubyforge
2+
3+ gem 'rake'
Original file line number Diff line number Diff line change @@ -23,4 +23,9 @@ And now you're ready to go!
2323
2424## Customization
2525
26- You can add your own configurations in ~ /.vimrc.local to customize the config to your needs.
26+ You can add your own configurations in ~ /.vimrc.local to customize the config to your needs.
27+
28+ ## Travis Build Status
29+
30+ [ ![ Build
31+ Status] ( https://secure.travis-ci.org/SweeD/swvim.png )] ( http://travis-ci.org/SweeD/swvim )
Original file line number Diff line number Diff line change 1+ task :default => [ :test ]
2+
3+ task :test do
4+ ruby "test/install_test.rb"
5+ end
Original file line number Diff line number Diff line change 1+ require 'test/unit'
2+
3+ class InstallScriptTest < Test ::Unit ::TestCase
4+ def test_install
5+ symlink_vim = ENV [ 'HOME' ] + "/.vim"
6+ symlink_vimrc = ENV [ 'HOME' ] + "/.vimrc"
7+ assert !File . exist? ( symlink_vim )
8+ assert !File . exist? ( symlink_vimrc )
9+
10+ assert system ( "./install.sh" )
11+
12+ assert File . symlink? ( symlink_vim )
13+ assert File . symlink? ( symlink_vimrc )
14+ end
15+ end
You can’t perform that action at this time.
0 commit comments