commit 08bb34b40c9742827c29dc3557771dce7fc19117
parent b8b6670757c5aff658906d24b6834bb4cb87235d
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Sun, 4 Oct 2015 13:05:18 +0200
Merge pull request #16 from RpicmsTeam/develop
Develop
Diffstat:
2 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/.codeclimate.yml b/.codeclimate.yml
@@ -0,0 +1,50 @@
+# This is a sample .codeclimate.yml configured for Engine analysis on Code
+# Climate Platform. For an overview of the Code Climate Platform, see here:
+# http://docs.codeclimate.com/article/300-the-codeclimate-platform
+
+# Under the engines key, you can configure which engines will analyze your repo.
+# Each key is an engine name. For each value, you need to specify enabled: true
+# to enable the engine as well as any other engines-specific configuration.
+
+# For more details, see here:
+# http://docs.codeclimate.com/article/289-configuring-your-repository-via-codeclimate-yml#platform
+
+# For a list of all available engines, see here:
+# http://docs.codeclimate.com/article/296-engines-available-engines
+
+engines:
+# to turn on an engine, add it here and set enabled to `true`
+# to turn off an engine, set enabled to `false` or remove it
+ rubocop:
+ enabled: true
+ golint:
+ enabled: true
+ gofmt:
+ enabled: true
+ eslint:
+ enabled: true
+ csslint:
+ enabled: true
+
+# Engines can analyze files and report issues on them, but you can separately
+# decide which files will receive ratings based on those issues. This is
+# specified by path patterns under the ratings key.
+
+# For more details see here:
+# http://docs.codeclimate.com/article/289-configuring-your-repository-via-codeclimate-yml#platform
+
+# Note: If the ratings key is not specified, this will result in a 0.0 GPA on your dashboard.
+
+# ratings:
+# paths:
+# - app/**
+# - lib/**
+# - "**.rb"
+# - "**.go"
+
+# You can globally exclude files from being analyzed by any engine using the
+# exclude_paths key.
+
+#exclude_paths:
+#- spec/**/*
+#- vendor/**/*
diff --git a/.travis.yml b/.travis.yml
@@ -1,6 +1,17 @@
+#Test php5.6 and php7.0
language: php
php:
- 5.6
+ - 7.0
+#RequireDB
env:
- DB=mysql
+#Allow errors in php7
+matrix:
+ allow_failures:
+ - php: 7.0
+#Create Database
+before_script:
+ - mysql -e 'create database RPICMS;'
+#RunTests
script: phpunit --configuration phpunit_$DB.xml --coverage-text