Skip to content

Commit

Permalink
Merge pull request #145 from j256/gw-fix-field-assign-npe
Browse files Browse the repository at this point in the history
Updated circle ci
  • Loading branch information
j256 committed Jul 2, 2018
2 parents e41f83a + 4a1fa3d commit 20cf75e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 20 deletions.
34 changes: 34 additions & 0 deletions .circleci/config.yml
@@ -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
20 changes: 0 additions & 20 deletions circle.yml

This file was deleted.

0 comments on commit 20cf75e

Please sign in to comment.