Permalink
Browse files

Add README and LICENSE

  • Loading branch information...
1 parent 575f611 commit f830ec328cf3368c1d71d85680f2bf3947b20bf4 @henrikhodne committed Dec 2, 2012
Showing with 60 additions and 0 deletions.
  1. +21 −0 LICENSE
  2. +34 −0 README.markdown
  3. +5 −0 lib/travis/lite/application.rb
View
21 LICENSE
@@ -0,0 +1,21 @@
+MIT LICENSE
+
+Copyright (c) 2012 Henrik Hodne
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
@@ -0,0 +1,34 @@
+# travis-lite
+
+Travis Lite is a more light-weight interface to the [Travis CI][] continuous integration service. It's meant for users
+who for various reasons can't use the JavaScript-heavy main site.
+
+[Travis CI]: http://travis-ci.org
+
+## Features
+
+To begin with, the lite site will implement all of the read-only parts of the main site, as we don't have to deal with
+authentication that way. Currently this is implemented:
+
+* List the most recent builds
+* List the most recent builds for a repository
+
+The URLs will mostly be the same as for the main Travis site.
+
+## Live Version
+
+There is a version of this app live at <http://travis-lite.herokuapp.com>. Go to [/deployed-sha][] to see what commit
+is currently deployed.
+
+[/deployed-sha]: http://travis-lite.herokuapp.com/deployed-sha
+
+## Contributions
+
+Contributions are welcome! If you find a bug, please report it in [the issue tracker][issues]. If you know how to fix
+it, or if you can write a failing spec, a pull request would be greatly appreciated.
+
+[issues]: https://github.com/henrikhodne/travis-lite
+
+## License
+
+Copyright © 2012 Henrik Hodne. See the LICENSE file for details.
@@ -42,6 +42,11 @@ class Application < Sinatra::Base
mustache :repository
end
+ get '/deployed-sha' do
+ content_type :text
+ `git rev-parse HEAD`
+ end
+
error do
@error = env['sinatra.error']
erb :error

0 comments on commit f830ec3

Please sign in to comment.