The discussion revolves around testing a Discourse API client on Travis-CI. sckott is looking for the best way to install Discourse on Travis for testing, but currently uses a maintained Discourse installation for their test suite. sam requests clarification on the goal and type of tests being run, to which sckott explains that they want to test against a running Discourse installation on Travis, rather than a real installation or stored JSON blobs. They provide an example of a test against the /posts route.
sam suggests running a Digital Ocean droplet with Discourse, but notes the associated cost. Installing Discourse on Travis would likely incur a significant upfront delay. sckott ultimately decides to stub out JSON instead, thanking sam for their help.
My test suite currently uses a Discourse installation I maintain. I’d prefer to test against a Discourse installation setup each time Travis is run (or cached if possible on Travis).
I could test against stored JSON blobs - but I’d like to see if I can test against a running Discourse installation if possible, and not a real installation with real users - that’s why I want one installed for testing.
Interesting, I guess this is a question of cost, ideally you just run a Digital Ocean droplet with Discourse, keep it up to date and test against that.
But that would cost you a minimum of 5-10 bucks a month. I am not sure how you would wrangle an install of Discourse into travis without incurring a massive upfront delay.