os: linux
dist: trusty
language: java
install: true
jdk: openjdk8
before_cache:
- rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
  directories:
  - $HOME/.m2
  - $HOME/.gradle/caches/
  - $HOME/.gradle/wrapper/
jobs:
  include:
  - stage: Core
    script: mvn -pl lightning-core clean install -DmockS3
  - stage: Clients
    name: "Lambda"
    script: mvn -pl lightning-aws-lambda clean verify
  - script: mvn -pl jmeter-lightning-maven-plugin clean verify
    name: "Maven"
  - script: (cd lightning-gradle-plugin; ./gradlew clean check)
    name: "Gradle"

os: linux
dist: trusty
language: java
install: true
jdk: openjdk8
before_cache:
- rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
  directories:
  - $HOME/.m2
  - $HOME/.gradle/caches/
  - $HOME/.gradle/wrapper/
jobs:
  include:
  - stage: Core
    name: "Core"
    script: mvn -pl lightning-core clean install -DmockS3
  - stage: Clients
    name: "Lambda"
    script: mvn -pl lightning-aws-lambda clean verify
  - script: mvn -pl jmeter-lightning-maven-plugin clean verify
    name: "Maven"
  - script: mvn -pl lightning-standalone clean compile assembly:single test
    name: "Standalone"
  - script: (cd lightning-gradle-plugin; ./gradlew clean check)
    name: "Gradle"

Add parallel step for Standalone
Add parallel step for Standalone
