The Ember web client for Travis CI
Go to file
Piotr Sarnacki 1a0e378732 Fix rendering job when moving from index route
The hack which is needed for wrong outlet behaviour renders a template
when outlet is not rendered automatically, but it was done immediately.
Because of that when changing routes from index to job route, sometimes
the hack was kicking in and rendering build instead of job template.
This commit fixes it to check if rendering is needed in "afterRender"
phase on runloop.
2013-09-07 17:44:43 +02:00
.localeapp Run rake localeapp:update 2013-03-12 14:02:48 +01:00
assets Fix rendering job when moving from index route 2013-09-07 17:44:43 +02:00
config switch to puma, make app reload in development mode 2012-10-17 16:19:42 +02:00
lib Fix passing alt=default param 2013-03-05 21:08:14 +01:00
locales Remove the Ruby hint from all the locales. 2013-09-03 14:33:58 +02:00
play update log.js and adapt styles for fold name tags 2013-02-27 22:39:10 +01:00
public Always run deferReadiness() 2013-08-29 01:15:46 +02:00
script Change spec runner to qunit 2013-07-30 17:12:58 +02:00
spec Fix passing alt=default param 2013-03-05 21:08:14 +01:00
.buildpacks Change buildpacks 2012-10-30 02:20:58 +01:00
.gitignore Rework guide a whee bit to be more compact. 2013-06-13 20:47:21 +02:00
.rspec Add some color to rspec 2012-11-10 15:47:33 +01:00
.slugignore Don't ignore assets directory when building slug 2012-10-30 02:23:06 +01:00
.travis.yml Don't try to upload build to S3 for pull requests 2013-04-07 19:35:39 +02:00
Assetfile Change spec runner to qunit 2013-07-30 17:12:58 +02:00
config.ru Fix secure.travis-ci.org redirect 2013-07-24 16:03:04 -07:00
CONTRIBUTING.md Added missing word "repo" 2013-03-18 23:05:06 -03:00
Gemfile Switch to http for now. 2013-05-17 08:15:44 +02:00
Gemfile.lock Add changes on Gemfile.lock 2013-05-21 15:00:18 +02:00
Guardfile make assetfile reusable 2012-10-03 16:34:21 +02:00
Guardfile.phantom add a guardfile for running specs 2012-07-05 00:47:05 +02:00
LICENCSE mit license 2012-10-03 13:38:40 +02:00
NOTES.txt Remove getPath/setPath from NOTES, it's already fixed 2012-08-12 13:42:43 +02:00
Procfile Revert "Fix procfile to rerun app when lib/**/* changes" 2013-02-21 22:22:22 +01:00
Rakefile Extracted localeapp-handlebars_i18n to gem 2012-12-04 00:17:58 +09:00
README.md correct typo in README 2013-04-17 19:30:16 -07:00
run_mocha.js try using jasmine for specs 2012-06-25 23:58:27 +02:00
run_qunit.js Change spec runner to qunit 2013-07-30 17:12:58 +02:00
seeds.sql add seeds gitignore config/travis.yml 2012-07-21 20:03:29 +02:00
travis-web.gemspec rename gemspec 2012-10-03 15:24:47 +02:00

Travis CI ember web client

Build Status

Running the app

In order to run the app you need to install dependencies with:

bundle install

Then you have to run the server, the easiest way to do this is to use foreman:

bundle exec foreman start

Now you can open localhost:5000

By default it uses the official API at https://api.travis-ci.org, but you can customize the API server URL using:

API_ENDPOINT="http://localhost:300/" bundle exec foreman start

This will run against API run locally.

Compiling assets manually

bundle exec rakep
ENV=production bundle exec rakep

Running the spec suite

First, start the app (see above).

bundle exec foreman start

To run the Ruby specs, run rspec against the spec/ directory:

bundle exec rspec spec/

To run the Jasmine specs, open the spec page: localhost:5000/spec.html

i18n

Localization for travis-web is managed via localeapp. If you are interested in improving the existing localizations or adding a new locale, please contact us on irc (#travis) and we will set you up.

Please do not edit the YAML files directly.

Localization data can be synced with the following rake task:

bundle exec localeapp:update

This will publish any new keys in en.yml, as well as any missing keys from your handlebars templates and pull down the latest localizations.

note: You will need to have the localeapp api key exported to LOCALEAPP_API_KEY