chore: add in circleci configs

This commit is contained in:
Ryan Dowling 2019-06-09 06:43:59 +10:00
parent 5a782f0fc5
commit 24ccdda1ba
No known key found for this signature in database
GPG key ID: 5539FCDB88950EFD
2 changed files with 31 additions and 1 deletions

29
.circleci/config.yml Normal file
View file

@ -0,0 +1,29 @@
version: 2
jobs:
build:
docker:
- image: circleci/openjdk:8
steps:
- checkout
- restore_cache:
key: pom-{{ checksum "pom.xml" }}
- run: mvn dependency:go-offline
- save_cache: # saves the project dependencies
paths:
- ~/.m2
key: pom-{{ checksum "pom.xml" }}
- run: mvn package
- store_artifacts:
path: target/ATLauncher-*.exe
- store_artifacts:
path: target/ATLauncher-*.jar
- store_artifacts:
path: target/ATLauncher-*.zip

3
.gitignore vendored
View file

@ -3,9 +3,10 @@
/*/
# Except These
!/.vscode/launch.json
!/.circleci/
!/.github/
!/.mvn/
!/.vscode/launch.json
!/getMemory/
!/src/
!/macapp/