Skip to content

Commit

Permalink
Merge pull request #14 from osvalda/PAC-CI-001
Browse files Browse the repository at this point in the history
PAC-CI-001
  • Loading branch information
osvalda authored Jul 11, 2023
2 parents 1048614 + bad2c4e commit 400bedc
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 18 deletions.
57 changes: 57 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
version: 2.1

workflows:
my-workflow:
jobs:
- build:
context:
- Pitaya

jobs:
build:
docker:
- image: gradle:6.7.1-jdk8

working_directory: ~/repo

resource_class: medium

environment:
JVM_OPTS: -Xmx3200m
TERM: dumb

steps:
- checkout

- restore_cache:
keys:
- v1-dependencies-{{ checksum "build.gradle" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run:
name: Build project
command: gradle clean build -x test -i

- save_cache:
paths:
- ~/.gradle
key: v1-dependencies-{{ checksum "build.gradle" }}

- run:
name: Execute unit tests
command: gradle check -i

- run:
name: Coverage reporting
command: gradle jacocoTestReport coveralls
when: always

- run:
name: Save test results
command: |
mkdir -p ~/test-results/junit/
find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ~/test-results/junit/ \;
when: always
- store_test_results:
path: ~/test-results
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Pitaya

[![Build Status](https://travis-ci.org/osvalda/Pitaya.svg?branch=master)](https://travis-ci.org/osvalda/Pitaya)
[![Coverage Status](https://coveralls.io/repos/github/osvalda/Pitaya/badge.svg?branch=master)](https://coveralls.io/github/osvalda/Pitaya?branch=PAC-002)
[![CircleCI](https://img.shields.io/circleci/build/github/osvalda/Pitaya/master)](https://app.circleci.com/pipelines/github/osvalda/Pitaya?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/osvalda/Pitaya/badge.svg?branch=master)](https://coveralls.io/github/osvalda/Pitaya?branch=master)
[![GitHub license](https://img.shields.io/github/license/spotify/scio.svg)](./LICENSE)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.osvalda/Pitaya.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.github.osvalda%22%20AND%20a:%22Pitaya%22)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.osvalda/Pitaya.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/io.github.osvalda/Pitaya/)

API coverage visualizer tool. Creates an easily readable html report based upon the executed API test cases.

Expand Down

0 comments on commit 400bedc

Please sign in to comment.