mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 12:44:03 +00:00
Enable travis and coveralls
This commit is contained in:
parent
cc0b130c86
commit
237318c7b4
4 changed files with 36 additions and 0 deletions
15
.travis.yml
Normal file
15
.travis.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
language: ruby
|
||||
rvm:
|
||||
- 2.1.0
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
notifications:
|
||||
email:
|
||||
on_success: change
|
||||
on_failure: change
|
||||
before_install:
|
||||
- "cp config/database.yml.example config/database.yml"
|
||||
- "cp config/config.yml.example config/config.yml"
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
1
Gemfile
1
Gemfile
|
|
@ -54,3 +54,4 @@ gem 'gravtastic'
|
|||
gem 'active_model_serializers'
|
||||
gem 'axlsx_rails'
|
||||
gem 'd3_rails'
|
||||
gem 'coveralls', require: false
|
||||
|
|
|
|||
18
Gemfile.lock
18
Gemfile.lock
|
|
@ -64,6 +64,12 @@ GEM
|
|||
climate_control (>= 0.0.3, < 1.0)
|
||||
cocoon (1.2.5)
|
||||
coderay (1.1.0)
|
||||
coveralls (0.7.0)
|
||||
multi_json (~> 1.3)
|
||||
rest-client
|
||||
simplecov (>= 0.7)
|
||||
term-ansicolor
|
||||
thor
|
||||
d3_rails (3.4.3)
|
||||
railties (>= 3.1.0)
|
||||
daemons (1.1.9)
|
||||
|
|
@ -74,6 +80,7 @@ GEM
|
|||
thread_safe (~> 0.1)
|
||||
warden (~> 1.2.3)
|
||||
diff-lcs (1.2.5)
|
||||
docile (1.1.3)
|
||||
erubis (2.7.0)
|
||||
eventmachine (1.0.3)
|
||||
execjs (2.0.2)
|
||||
|
|
@ -171,6 +178,8 @@ GEM
|
|||
rdoc (~> 3.12)
|
||||
yajl-ruby (~> 1.1)
|
||||
ref (1.0.5)
|
||||
rest-client (1.6.7)
|
||||
mime-types (>= 1.16)
|
||||
rspec-collection_matchers (0.0.3)
|
||||
rspec-expectations (>= 2.99.0.beta1)
|
||||
rspec-core (3.0.0.beta2)
|
||||
|
|
@ -197,6 +206,11 @@ GEM
|
|||
railties (~> 3.2.0)
|
||||
sass (>= 3.1.10)
|
||||
tilt (~> 1.3)
|
||||
simplecov (0.8.2)
|
||||
docile (~> 1.1.0)
|
||||
multi_json
|
||||
simplecov-html (~> 0.8.0)
|
||||
simplecov-html (0.8.0)
|
||||
slop (3.4.7)
|
||||
sprockets (2.2.2)
|
||||
hike (~> 1.2)
|
||||
|
|
@ -204,6 +218,8 @@ GEM
|
|||
rack (~> 1.0)
|
||||
tilt (~> 1.1, != 1.3.0)
|
||||
sqlite3 (1.3.9)
|
||||
term-ansicolor (1.3.0)
|
||||
tins (~> 1.0)
|
||||
therubyracer (0.12.1)
|
||||
libv8 (~> 3.16.14.0)
|
||||
ref
|
||||
|
|
@ -215,6 +231,7 @@ GEM
|
|||
thread_safe (0.3.1)
|
||||
atomic (>= 1.1.7, < 2)
|
||||
tilt (1.4.1)
|
||||
tins (1.1.0)
|
||||
transitions (0.1.12)
|
||||
treetop (1.4.15)
|
||||
polyglot
|
||||
|
|
@ -243,6 +260,7 @@ DEPENDENCIES
|
|||
cancan
|
||||
capybara
|
||||
cocoon
|
||||
coveralls
|
||||
d3_rails
|
||||
devise
|
||||
factory_girl_rails
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
ENV["RAILS_ENV"] ||= 'test'
|
||||
require File.expand_path("../../config/environment", __FILE__)
|
||||
require 'rspec/rails'
|
||||
require 'coveralls'
|
||||
Coveralls.wear!
|
||||
|
||||
# Requires supporting ruby files with custom matchers and macros, etc, in
|
||||
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue