Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.

Commit 7e76c68

Browse files
committed
Added travis-ci
1 parent ac338ee commit 7e76c68

File tree

3 files changed

+45
-21
lines changed

3 files changed

+45
-21
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: go
2+
3+
go:
4+
- 1.3
5+
- 1.4
6+
7+
install: make
8+
script: make test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ bintray:
3232
$(GO_XC) bintray
3333

3434
test:
35-
go test github.com/pksunkara/alpaca/alpaca
35+
go test -v ./...
3636

3737
test-cover:
3838
go test -coverprofile=coverage.out github.com/pksunkara/alpaca/alpaca

README.md

Lines changed: 36 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -215,17 +215,21 @@ Supported are `basic`, `header`, `oauth`
215215

216216
Supported programming language versions are:
217217

218-
* __node__: [ 0.8 / 0.9 / 0.10 / 0.11 ]
219-
* __php__: [ 5.4 / 5.5 ]
220-
* __python__: [ 2.6 / 2.7 / 3.2 / 3.3 ]
221-
* __ruby__: [ 1.8.7 / 1.9.1 / 1.9.2 / 1.9.3 / 2.0.0 / 2.1.0 / 2.1.1 ]
218+
| Language | V | E | R | S | I | O | N |
219+
|----------|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|
220+
| node | 0.8 | 0.9 | 0.10 | 0.11 | 0.12 | | |
221+
| php | 5.4 | 5.5 | | | | | |
222+
| python | 2.6 | 2.7 | 3.2 | 3.3 | | | |
223+
| ruby | 1.8.7 | 1.9.1 | 1.9.2 | 1.9.3 | 2.0.0 | 2.1.0 | 2.1.1 |
222224

223225
### Package Managers
224226

225-
* __node__: [https://npmjs.org](https://npmjs.org)
226-
* __php__: [https://packagist.org](https://packagist.org)
227-
* __python__: [https://pypi.python.org](https://pypi.python.org)
228-
* __ruby__: [https://rubygems.org](https://rubygems.org)
227+
| Language | Package Manager |
228+
|----------|----------------------------------------------------|
229+
| node | [https://npmjs.org](https://npmjs.org) |
230+
| php | [https://packagist.org](https://packagist.org) |
231+
| python | [https://pypi.python.org](https://pypi.python.org) |
232+
| ruby | [https://rubygems.org](https://rubygems.org) |
229233

230234
## Testing
231235

@@ -239,21 +243,19 @@ __I accept pull requests and guarantee a reply back within a day__
239243

240244
### TODO
241245

242-
##### General
243-
244-
* Support YAML configuration
246+
You get internet points for pull requesting the following features.
245247

246248
##### Responses
247249

248-
* Add support for XML
249-
* Add support for CSV
250+
* [Add support for XML](https://github.com/pksunkara/alpaca/issues/36)
251+
* [Add support for CSV](https://github.com/pksunkara/alpaca/issues/36)
250252

251253
##### Requests
252254

253255
* HTTP Method Overloading
254256
* What about file uploads?
255257

256-
##### Api
258+
##### API
257259

258260
* Check returned status code
259261
* Special case for 204:true and 404:false
@@ -268,7 +270,7 @@ __I accept pull requests and guarantee a reply back within a day__
268270

269271
##### Readme
270272

271-
* Optional params available
273+
* [Optional params available](https://github.com/pksunkara/alpaca/issues/57)
272274
* Return types of api calls
273275

274276
##### Comments
@@ -278,16 +280,30 @@ __I accept pull requests and guarantee a reply back within a day__
278280

279281
##### Formats
280282

281-
* Support WADL
282-
* Support RAML
283-
* Support API blueprint
283+
* [Support YAML](https://github.com/pksunkara/alpaca/issues/63)
284+
* [Support API blueprint](https://github.com/pksunkara/alpaca/issues/56)
285+
* [Support Swagger](https://github.com/pksunkara/alpaca/issues/61)
286+
* [Support WADL](https://github.com/pksunkara/alpaca/issues/13)
287+
* [Support JSON Schema](https://github.com/pksunkara/alpaca/issues/17)
288+
* [Support RAML](https://github.com/pksunkara/alpaca/issues/54)
284289

285290
##### Languages
286291

287-
* Support Java, Go, Perl, Clojure, Scala, Obj-C
288-
* Build API docs (Resulting in bloated definitions?)
292+
* [Support Java](https://github.com/pksunkara/alpaca/issues/11)
293+
* [Support Go](https://github.com/pksunkara/alpaca/issues/9)
294+
* [Support Clojure](https://github.com/pksunkara/alpaca/issues/49)
295+
* [Support Rust](https://github.com/pksunkara/alpaca/issues/62)
296+
* [Support Swift](https://github.com/pksunkara/alpaca/issues/64)
297+
* Support C, C++, Perl, Scala, C#, Erlang, Lua, Haskell, D, Julia, Groovy
289298
* Build cli tool for APIs (bash? python? go?)
290299

300+
### Support Projects
301+
302+
Alternatively, you can write your own converter from `alpaca.json` to the following
303+
304+
* Convert into API Blueprint
305+
* Convert into Swagger
306+
291307
## License
292308

293309
MIT/X11

0 commit comments

Comments
 (0)