aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml64
1 files changed, 27 insertions, 37 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 086d399b75..c52e759544 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,51 +1,41 @@
-# Java Gradle CircleCI 2.0 configuration file
-#
-# Check https://circleci.com/docs/2.0/language-java/ for more details
-#
version: 2
jobs:
build:
+ working_directory: ~/repo
+
docker:
- # specify the version you desire here
- image: circleci/openjdk:8-jdk
- # Specify service dependencies here if necessary
- # CircleCI maintains a library of pre-built images
- # documented at https://circleci.com/docs/2.0/circleci-images/
- # - image: circleci/postgres:9.4
-
- working_directory: ~/repo
-
+
environment:
- # Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
- TERM: dumb
-
+
+
steps:
- checkout
-
- # Download and cache dependencies
+ - 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:
- keys:
- - v1-dependencies-{{ checksum "build.gradle" }}
- # fallback to using the latest cache if no exact match is found
- - v1-dependencies-
-
- - run: gradle setupDecompWorkspace eclipse clean build test
- # - run: gradle eclipse
- # - run: gradle clean build
- # - run: gradle dependencies
-
+ key: jars-{{ checksum "build.gradle" }}-{{ checksum "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
- - ~/.m2
- key: v1-dependencies-{{ checksum "build.gradle" }}
-
- # run tests!
- - run: gradle test
- # Build!
- - run: gradle build
-
-
-
+ key: jars-{{ checksum "build.gradle" }}-{{ checksum "build.gradle" }}
+
+ - store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
+ path: logs
+ destination: reports
+ - store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
+ path: build/libs
+ # See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples