before_script: - mkdir -p tmp/pids log - bundle check || bundle install - script/noosfero-plugins disableall - rm -f tmp/makemo.stamp && rake makemo &>/dev/null # database - cp config/database.yml.gitlab-ci config/database.yml - createdb gitlab_ci_test || true - bundle exec rake db:schema:load &>/dev/null - bundle exec rake db:migrate &>/dev/null units: script: bundle exec rake test:units functionals: script: bundle exec rake test:functionals integration: script: bundle exec rake test:integration cucumber: script: bundle exec rake cucumber selenium: script: bundle exec rake selenium plugins: script: bundle exec rake test:noosfero_plugins