Skip to content

Commit 58184a0

Browse files
ismael_serranoisserrano
ismael_serrano
authored andcommitted
Add Travis CI
- Run unit tests - Add travis, apache 2.0 and goreport badges
1 parent 47154e1 commit 58184a0

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: go
2+
sudo: required
3+
services:
4+
- docker
5+
go:
6+
- "1.10"
7+
script:
8+
- echo "N+ go SDK commit:${TRAVIS_COMMIT}"
9+
jobs:
10+
include:
11+
- stage: Unit tests
12+
script: go test client/*

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
[![Build Status](https://travis-ci.org/nginxinc/nginx-plus-go-sdk.svg?branch=master)](https://travis-ci.org/nginxinc/nginx-plus-go-sdk) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Go Report Card](https://goreportcard.com/badge/github.com/nginxinc/nginx-plus-go-sdk)](https://goreportcard.com/report/github.com/nginxinc/nginx-plus-go-sdk)
3+
14
# NGINX Plus API Go SDK
25

36
This SDK includes a client library for working with NGINX Plus API.

0 commit comments

Comments
 (0)