Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #12 from eshepelyuk/travisCI
Browse files Browse the repository at this point in the history
Continous integration using TravisCI and README updates
  • Loading branch information
lkishalmi committed Apr 6, 2016
2 parents 310527c + 35e0d71 commit b384482
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: java
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper

branches:
only:
- master

20 changes: 13 additions & 7 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
= Gatling Plugin for Gradle
:gatlingToolVersion: 2.1.7

image:http://gatling.io/images/gatling-logo.png[Gatling, 100, 90, link="http://gatling.io/"]

*Master branch* image:https://api.travis-ci.org/lkishalmi/gradle-gatling-plugin.svg?branch=master["Build Status", link="https://travis-ci.org/lkishalmi/gradle-gatling-plugin"]

== Installation

Add following to `build.gradle`

[source,groovy]
----
plugins {
id "com.github.lkishalmi.gatling" version "0.1.2"
id "com.github.lkishalmi.gatling" version "0.2.0"
}
----

Expand Down Expand Up @@ -71,7 +74,7 @@ The plugin defines the following extension properties in the `gatling` closure
[cols="1,1,4a,1a", options="header"]
|===
|Property name |Type |Default value |Description
|toolVersion |String |'2.7.1' |`Gatling` version
|toolVersion |String |'{gatlingToolVersion}' |`Gatling` version

|jvmArgs
|List<String>
Expand All @@ -81,11 +84,14 @@ The plugin defines the following extension properties in the `gatling` closure
'-XX:ThreadPriorityPolicy=42',
'-Xms512M', '-Xmx512M', '-Xmn100M',
'-XX:+HeapDumpOnOutOfMemoryError',
'-XX:+AggressiveOpts', '-XX:+OptimizeStringConcat',
'-XX:+AggressiveOpts',
'-XX:+OptimizeStringConcat',
'-XX:+UseFastAccessorMethods',
'-XX:+UseParNewGC', '-XX:+UseConcMarkSweepGC',
'-XX:+UseParNewGC',
'-XX:+UseConcMarkSweepGC',
'-XX:+CMSParallelRemarkEnabled',
'-Djava.net.preferIPv4Stack=true', '-Djava.net.preferIPv6Addresses=false']
'-Djava.net.preferIPv4Stack=true',
'-Djava.net.preferIPv6Addresses=false']
----
| Additional arguments passed to JVM when executing `Gatling` simulations

Expand All @@ -100,10 +106,10 @@ The plugin defines the following extension properties in the `gatling` closure

Example::
+
[source,groovy]
[source,groovy,subs="attributes"]
----
gatling {
toolVersion = '2.7.1'
toolVersion = '{gatlingToolVersion}'
jvmArgs = [ '-server', '-Xms512M', '-Xmx512M' ]
simulations = {
include "**/folder1/*Simu.scala" <1>
Expand Down

0 comments on commit b384482

Please sign in to comment.