Skip to content

Instantly share code, notes, and snippets.

@jaredhirsch
Created August 13, 2012 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredhirsch/3343224 to your computer and use it in GitHub Desktop.
Save jaredhirsch/3343224 to your computer and use it in GitHub Desktop.
idea: let travis test pull requests without giving our secrets to travis
1. travis kicks off a script which talks to a test server by curling an endpoint.
maybe something like this: curl: http://testy.personatest.org/45dc2a
- where the curl request includes the SHA of the pull request
2. testy server kicks off deployment using some script like this:
- https://gist.github.com/3342964
- which means testy server:
- spins up an ephemeral instance
- points sauce labs at it
- returns the output to travis
3. travis pastes results into pull request to signal pass/fail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment