Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #145 from j256/gw-fix-field-assign-npe
Updated circle ci
- Loading branch information
Showing
2 changed files
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# config file for circleci | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/openjdk:8-jdk-browsers | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: j256-ormlite-core-{{ checksum "pom.xml" }} | ||
- run: | ||
name: Get maven project dependencies | ||
command: mvn -U dependency:go-offline compile | ||
# save the project dependencies | ||
- save_cache: | ||
paths: | ||
- ~/.m2 | ||
key: j256-ormlite-core-{{ checksum "pom.xml" }} | ||
- run: | ||
name: mvn package | ||
command: mvn package | ||
# uploads the test metadata from the `target/surefire-reports` directory so that it can show up in the CircleCI dashboard. | ||
- store_test_results: | ||
path: target/surefire-reports | ||
- run: | ||
name: Generate coverage report using jacoco | ||
command: mvn jacoco:report | ||
- run: | ||
name: Upload coverage report to CodeCov | ||
command: bash <(curl -s https://codecov.io/bash) | ||
# deploys whenever we check into master to our s3 snapshot repo so ormlite-jdbc can run its tests | ||
- run: | ||
name: mvn deploy | ||
command: mvn -Ptesting -DskipTests deploy |
This file was deleted.
Oops, something went wrong.