Provide Gemfile.local for travis

This commit is contained in:
Alexander Meindl 2019-12-25 08:45:16 +01:00
parent 03ef971398
commit f200bc89d0
4 changed files with 9 additions and 5 deletions

View File

@ -10,10 +10,10 @@ AllCops:
TargetRailsVersion: 5.2
Metrics/AbcSize:
Max: 65
Enabled: false
Metrics/BlockLength:
Max: 60
Enabled: false
Metrics/ClassLength:
Enabled: false

View File

@ -27,6 +27,7 @@ before_install:
- git clone $REDMINE_GIT_REPO $REDMINE_PATH
- cd $REDMINE_PATH
- if [[ "$REDMINE_VER" != "master" ]]; then git checkout -b $REDMINE_VER origin/$REDMINE_VER; fi
- if [[ "$REDMINE_VER" != "master" ]]; then cp $TRAVIS_BUILD_DIR/test/support/Gemfile.local $REDMINE_PATH; fi
- ln -s $TRAVIS_BUILD_DIR $REDMINE_PATH/plugins/$PLUGIN_NAME
- cp $TRAVIS_BUILD_DIR/test/support/additional_environment.rb $REDMINE_PATH/config/
- cp $TRAVIS_BUILD_DIR/test/support/database-$DB-travis.yml $REDMINE_PATH/config/database.yml
@ -36,5 +37,5 @@ before_script:
script:
- export SKIP_COVERAGE=1
- if [[ "$REDMINE_VER" == "4.1.0" ]]; then brakeman plugins/$PLUGIN_NAME; fi
- if [[ "$REDMINE_VER" == "master" ]]; then brakeman plugins/$PLUGIN_NAME; fi
- bundle exec rake redmine:plugins:test NAME=$PLUGIN_NAME RUBYOPT="-W0"

View File

@ -172,7 +172,7 @@ It provides :
* `d3 5.14.2 <https://d3js.org/>`_
* `d3plus v2.0.0-alpha.25 <https://d3plus.org/>`_
* `FontAwesome 5.12.0 <https://fontawesome.com/>`_
* `mermaid 8.4.3 <https://github.com/knsv/mermaid/>`_
* `mermaid 8.4.4 <https://github.com/knsv/mermaid/>`_
* `Select2 4.0.12 <https://select2.org/>`_
And a set of various Rails helper methods (see below).
@ -214,7 +214,7 @@ Redmine Plugins, which are using ``additionals``
* `redmine_privacy_terms <https://github.com/AlphaNodes/redmine_privacy_terms>`_
* `redmine_reporting <https://alphanodes.com/redmine-reporting>`_
If you know other plugin, which are using ``additionals``, please let us know or create a `PR <https://github.com/alphanodes/additionals/pulls>`_.
If you know other plugins, which are using ``additionals``, please let us know or create a `PR <https://github.com/alphanodes/additionals/pulls>`_.
Contact and Support
-------------------

View File

@ -0,0 +1,3 @@
gem 'rubocop', require: false
gem 'rubocop-performance', require: false
gem 'rubocop-rails', require: false