[Git][noosfero/noosfero][master] CI: run models specs

Bráulio Bhavamitra gitlab at mg.gitlab.com
Wed May 3 22:21:57 BRT 2017


Bráulio Bhavamitra pushed to branch master at Noosfero / noosfero


Commits:
f5e51c1f by Braulio Bhavamitra at 2017-05-03T22:13:25-03:00
CI: run models specs

- - - - -


3 changed files:

- .gitlab-ci.yml
- .travis.yml
- spec/spec_helper.rb


Changes:

=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,6 +15,10 @@ stages:
 #  script: bundle exec rake ci:smoke
 #  stage: smoke-tests
 
+specs-models:
+  script: bundle exec rake spec SPEC=spec/models
+  stage: all-tests
+
 api:
   script: bundle exec rake test:api
   stage: all-tests


=====================================
.travis.yml
=====================================
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,6 +56,7 @@ env:
   global:
     - LANG=en
   matrix:
+    - TASK=spec SPEC=spec/models
     - TASK=test:api
     - TASK=test:units
     - TASK=test:functionals


=====================================
spec/spec_helper.rb
=====================================
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -2,6 +2,7 @@ require_relative '../config/environment'
 require 'rspec/rails'
 
 require_relative 'support/factories'
+require_relative 'concerns/metadata_scopes_spec'
 
 require 'database_cleaner'
 



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/f5e51c1ff01a0d8f18f7b8db082d960e360e0fcc

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/f5e51c1ff01a0d8f18f7b8db082d960e360e0fcc
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170504/ce5b0b17/attachment-0001.html>


More information about the Noosfero-dev mailing list