mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Make the travis log shorter, enable coveralls rails mode
This commit is contained in:
parent
25f24c1410
commit
33d74277d0
2 changed files with 9 additions and 8 deletions
13
.travis.yml
13
.travis.yml
|
|
@ -8,12 +8,13 @@ notifications:
|
|||
email:
|
||||
on_success: change
|
||||
on_failure: change
|
||||
script:
|
||||
- "cp config/database.yml.example config/database.yml"
|
||||
- "cp config/config.yml.example config/config.yml"
|
||||
before_install:
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
before_script:
|
||||
- cp config/database.yml.example config/database.yml
|
||||
- cp config/config.yml.example config/config.yml
|
||||
- RAILS_ENV=test bundle exec rake db:migrate --trace
|
||||
- bundle exec rake db:test:prepare
|
||||
script:
|
||||
- bundle exec rake spec
|
||||
before_install:
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
require 'coveralls'
|
||||
Coveralls.wear!('rails')
|
||||
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
||||
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