# Testing a Discourse API client on Travis-CI

**URL:** <https://meta.discourse.org/t/testing-a-discourse-api-client-on-travis-ci/42947>\
**Category:** Development\
**Created:** [21 Aprile 2016, 7:15pm UTC](https://meta.discourse.org/t/testing-a-discourse-api-client-on-travis-ci/42947 "2016-04-21T19:15:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sckott](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sckott/32/115359_2.png) [@sckott](https://meta.discourse.org/u/sckott)\
**Post date:** [21 Aprile 2016, 7:15pm UTC](https://meta.discourse.org/t/testing-a-discourse-api-client-on-travis-ci/42947/1 "2016-04-21T19:15:00Z")

</div>

What’s the best or fastest way to get Discourse installed on Travis for testing a client for the Discourse API ?

It appears as though the `discourse_api` gem uses `webmock` so I think does not use a real Discourse installation.

It would be nice to install Discourse on Travis and test against it for my test suite. Any example travis files for that?

---

_[View the full topic](https://meta.discourse.org/t/testing-a-discourse-api-client-on-travis-ci/42947)._
