Skip to content

Commit

Permalink
travis yml and badges
Browse files Browse the repository at this point in the history
  • Loading branch information
timlkelly committed Sep 9, 2016
1 parent 7f8f928 commit 7a79061
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: ruby
rvm:
- 2.2.5
env:
- DB=postgresql
script:
- bundle exec rake spec
before_script:
- RAILS_ENV=test bundle exec rake db:create
- RAILS_ENV=test bundle exec rake db:schema:load
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ end

group :test do
gem 'rack-test', require: 'rack/test'
end
gem 'codeclimate-test-reporter', require: nil
end
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CitadelDB API

[![Build Status](https://travis-ci.org/timlkelly/citadelDB_api.svg?branch=master)](https://travis-ci.org/timlkelly/citadelDB_api)
[![Code Climate](https://codeclimate.com/github/timlkelly/citadelDB_api/badges/gpa.svg)](https://codeclimate.com/github/timlkelly/citadelDB_api)
[![Test Coverage](https://codeclimate.com/github/timlkelly/citadelDB_api/badges/coverage.svg)](https://codeclimate.com/github/timlkelly/citadelDB_api/coverage)

The backend API for [CitadelDB](http://timlkelly.github.io/citadelDB), a database of citadels in Eve Online.

[CitadelDB API](http://citadeldb.herokuapp.com) records active citadels in Eve Online and provides an API to respond with citadel data
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
require 'rack/test'
require 'rspec'
require 'pp'
Expand Down

0 comments on commit 7a79061

Please sign in to comment.