The Ember web client for Travis CI
Go to file
Randy Morgan 7e24a3093e Added info for i18n management to readme
Hopefull this will help people stop sending in pull requests with .yml
changes for localization. ..Assuming they read the README!
2013-02-25 20:30:02 +09:00
.localeapp Update locales 2013-01-15 00:48:34 +01:00
assets Update pusher to 1.12.6 2013-02-20 05:02:25 +01:00
config switch to puma, make app reload in development mode 2012-10-17 16:19:42 +02:00
lib Don't shadow options method in set_config 2013-02-22 22:54:09 +01:00
locales Update locales 2013-01-15 00:48:34 +01:00
play check if readyState == 3 makes the responseText available in browsers we care about ... yes, it does 2012-10-06 17:29:16 +02:00
public Revert removal of jasmine styles 2013-02-18 23:46:43 +01:00
script Use bash for script/ci 2012-12-11 21:44:48 +01:00
spec Allow to set "custom_branch" for assets 2013-02-21 22:12:33 +01:00
.buildpacks Change buildpacks 2012-10-30 02:20:58 +01:00
.gitignore Add locales.js to .gitignore 2012-12-17 22:23:32 +01: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 Upload only styles and scripts 2013-02-21 18:39:42 +01:00
Assetfile Compress javascripts directly to app.js in production mode 2013-01-19 01:24:18 +01:00
config.ru extract ga code and setup 2013-02-08 14:49:46 +01:00
Gemfile Compress css in production mode 2013-01-18 01:22:40 +01:00
Gemfile.lock Compress css in production mode 2013-01-18 01:22:40 +01: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 Added info for i18n management to readme 2013-02-25 20:30:02 +09:00
run_jasmine.coffee try using jasmine for specs 2012-06-25 23:58:27 +02:00
run_mocha.js try using jasmine for specs 2012-06-25 23:58:27 +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

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 official API at https://api.travis-ci.org, but you can set your own enpoint 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