Skip to content

Commit 82f501f

Browse files
committed
add travis
1 parent ea9debd commit 82f501f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
services: mongodb
2+
language: ruby
3+
script: "bundle exec rake spec"
4+
rvm:
5+
- 1.9.3
6+
- 2.0.0
7+
- 2.1.0
8+
- 2.1.1
9+
env:
10+
- CODECLIMATE_REPO_TOKEN=f506e465f1ed0571aeaa5e1cb9c14214c9f7567a92d1af70903f3d0bc8015ed6
11+
notifications:
12+
email: false
13+
addons:
14+
code_climate:
15+
repo_token: f506e465f1ed0571aeaa5e1cb9c14214c9f7567a92d1af70903f3d0bc8015ed6

Rakefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
11
require "bundler/gem_tasks"
2+
3+
require "rspec/core"
4+
require "rspec/core/rake_task"
5+
6+
RSpec::Core::RakeTask.new(:spec) do |spec|
7+
spec.pattern = FileList["spec/**/*_spec.rb"]
8+
end
9+
10+
task :default => "spec"

0 commit comments

Comments
 (0)