aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
blob: 4b4d560dc4f48ca6d883faed0fcebc8ce6656994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: 2
jobs:
  build:
    working_directory: ~/repo
    
    docker:
      - image: circleci/openjdk:8-jdk
      
      
    environment:
      JVM_OPTS: -Xmx3200m
      
      
    steps:
      - checkout
      - run: sudo chmod +x gradlew
      
      #https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-src.zip
      
      - restore_cache:
          key: jars-{{ checksum "build.gradle" }}-{{ checksum  "app/build.gradle" }}
          
      - run:
          name: Download Build Script
          command: wget https://alkcorp.overminddl1.com/GTPP_BuildScript.sh
          
      - run:
          name: Run Build Script
          command: sh GTPP_BuildScript.sh
          
      - save_cache:
          paths:
            - ~/.gradle
          key: jars-{{ checksum "build.gradle" }}-{{ checksum  "app/build.gradle" }}

      - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/ 
          path: app/build/reports
          destination: reports
      - store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
          path: app/build/test-results
      # See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples