More work on travis

This commit is contained in:
Alexander Meindl
2018-07-16 12:31:30 +02:00
parent 466c676e40
commit 4392789a1b
2 changed files with 5 additions and 2 deletions

View File

@@ -9,7 +9,6 @@ gemfile:
- $REDMINE_PATH/Gemfile
env:
- SKIP_COVERAGE=1
- REDMINE_VER=3.4-stable DB=postgresql
# - REDMINE_VER=master
@@ -31,14 +30,18 @@ before_install:
- cp test/support/database-$DB-travis.yml $REDMINE_PATH/config/database.yml
- cd $REDMINE_PATH
install: "echo skip bundle install"
before_script:
# - bundle exec rake redmine:load_default_data REDMINE_LANG=en
# - bundle exec rake db:structure:dump
- bundle install
- bundle exec rake db:create
- bundle exec rake db:migrate
- bundle exec rake redmine:plugins:migrate
script:
- export SKIP_COVERAGE=1
- if [[ "$REDMINE_VER" == "master" ]]; then bundle exec rake redmine:plugins:test:units NAME=$PLUGIN_NAME; fi
- if [[ "$REDMINE_VER" == "master" ]]; then bundle exec rake redmine:plugins:test:functionals NAME=$PLUGIN_NAME; fi
- if [[ "$REDMINE_VER" == "master" ]]; then bundle exec rake redmine:plugins:test:integration NAME=$PLUGIN_NAME; fi

View File

@@ -3,7 +3,7 @@ Messenger plugin for Redmine
This plugin posts updates to issues in your Redmine installation to [Slack](https://slack.com/), [Rocket.Chat](https://rocket.chat/), [Discord](https://discordapp.com/) or [Mattermost](https://about.mattermost.com/) channel.
[![Rate at redmine.org](https://img.shields.io/badge/rate%20at-redmine.org-blue.svg?style=fla)](https://www.redmine.org/plugins/redmine_messenger) ![Jenkins Build Status](https://pm.alphanodes.com/jenkins/buildStatus/icon?job=Devel-build-redmine-messenger)
[![Rate at redmine.org](https://img.shields.io/badge/rate%20at-redmine.org-blue.svg?style=fla)](https://www.redmine.org/plugins/redmine_messenger) [![Build Status](https://travis-ci.org/AlphaNodes/redmine_messenger.svg?branch=master)](https://travis-ci.org/AlphaNodes/redmine_messenger)
Features
--------