Skip to content

Commit

Permalink
Issue #000 feat: circleci.config file
Browse files Browse the repository at this point in the history
  • Loading branch information
G33tha committed Jan 16, 2019
1 parent 1d0df3f commit be43647
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: 2.1
jobs:
analytics-build:
machine: true
steps:
- checkout
- restore_cache:
key: dp-dependency-cache-{{ checksum "pom.xml" }}
- run:
name: analytics-framework-build
command: cd platform-framework && mvn clean install -DskipTests=true
- run:
name: data-products-build
command: cd platform-modules && mvn clean install -DskipTests
- run: cd platform-modules/job-manager && mvn clean package
- run:
name: lpa-api-build
command: cd platform-api && mvn clean install -DskipTests=true
- run: cd platform-api && mvn play2:dist -pl analytics-api
- save_cache:
key: dp-dependency-cache-{{ checksum "pom.xml" }}
paths: ~/.m2
- run: mkdir temp && cp platform-framework/analytics-job-driver/target/analytics-framework-1.0.jar temp/
- run: cp platform-modules/batch-models/target/batch-models-1.0.jar temp/
- run: cp platform-modules/job-manager/target/job-manager-1.0-distribution.tar.gz temp/
- run: cp platform-api/analytics-api/target/analytics-api-1.0-dist.zip temp/
- store_artifacts:
path: temp
destination: temp/


workflows:
version: 2.1
workflow:
jobs:
- analytics-build

0 comments on commit be43647

Please sign in to comment.