Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Commit ed866f1

Browse files
committed
Add travis.ci
1 parent d09cdf2 commit ed866f1

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TBA-API-Java-Library
1+
# The Blue Alliance API Java Library [![Build Status](https://travis-ci.org/spencerng/TBA-API-Java-Library.svg?branch=master)](https://travis-ci.org/spencerng/TBA-API-Java-Library)
22

33
Java client library to retrieve data from The Blue Alliance using TBA API v3
44

src/main/java/com/thebluealliance/requests/ApiResponse.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package com.thebluealliance.requests;
22

3-
public class ApiResponse {
3+
public class APIResponse {
44

55
private final String jsonContent, lastModified;
66

7-
public String getJsonContent() {
7+
public String getJson() {
88
return jsonContent;
99
}
1010

@@ -18,7 +18,7 @@ public int getResponseCode() {
1818

1919
private final int responseCode;
2020

21-
public ApiResponse(String jsonContent, String lastModified, int responseCode){
21+
public APIResponse(String jsonContent, String lastModified, int responseCode){
2222
this.jsonContent = jsonContent;
2323
this.lastModified = lastModified;
2424
this.responseCode = responseCode;

travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
before_script:
2+
- chmod +x gradlew
3+
language: java
4+
jdk:
5+
- oraclejdk8

0 commit comments

Comments
 (0)