Skip to content

Conversation

@Montana
Copy link

@Montana Montana commented May 7, 2021

language: java
dist: trusty
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
  - rm -f  $HOME/.gradle/caches/*/fileHashes/fileHashes.bin # Montana adding Hash bins 
  - rm -f  $HOME/.gradle/caches/*/fileHashes/fileHashes.lock # Montana adding Hash bins 
cache:
 directories:
 - $HOME/.gradle/caches/
 - $HOME/.gradle/wrapper/
 - $HOME/.gradle/nodejs/
 - node_modules
jdk:
  - oraclejdk8
  - oraclejdk11
  - openjdk8
  - openjdk10
  - openjdk11
  - openjdk12
script:
  - ./gradlew build --scan -s # Added by Montana 
  - ./gradlew test jacocoTestReport
  - ./gradlew installDist
  - ./gradlew javadoc
# The AstraZeneca Build Matrix is optional for build optimization in this particular situation, I personally recommend it. 
  jobs:
  include:
    - stage: Montana's AstraZeneca optimization
      script: ./gradlew assemble --scan --no-daemon
    - stage: Run Montana's tests 
      script: ./gradlew tests --scan --no-daemon
      script: ./gradlew integration-tests --scan --no-daemon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants