The Ember web client for Travis CI
Go to file
2014-05-12 11:42:06 +02:00
assets Change Id header into Request on requests list 2014-05-12 11:17:49 +02:00
config
lib Redirect PNG to SVG when REDIRECT_PNG is set. 2014-03-20 17:35:42 +01:00
locales Add status image example for POD 2014-01-25 09:06:25 -05:00
play
public removed smile from crying travis 2013-10-28 17:56:00 -04:00
script Pull Sauce script from gist.githubusercontent.com 2014-03-10 12:53:13 +01:00
spec fix(api-redirect): update regex used for determining when to redirect 2014-03-12 13:07:57 -05:00
.buildpacks
.gitignore
.rspec
.slugignore
.travis.yml Change ruby version to 2.1.2 in .travis.yml as well 2014-05-12 11:42:06 +02:00
Assetfile Remove i18n from Assetfile 2014-01-16 20:49:54 +01:00
config.ru
CONTRIBUTING.md
Gemfile Use ruby 2.1.2 2014-05-12 11:39:51 +02:00
Gemfile.lock updated Gemfile 2014-01-16 15:00:43 -05:00
Guardfile
Guardfile.phantom
LICENSE changes made to profile page including increased type size for readability, color styling and gravatar border radius increase 2014-01-03 19:10:58 -05:00
NOTES.txt Use bind-attr instead of deprecated bindAttr. 2014-01-07 21:00:26 -05:00
Procfile
Rakefile
README.md Change port for localhost example [skip ci] 2014-01-25 09:08:30 -05:00
run_mocha.js
run_qunit.js
seeds.sql
travis-web.gemspec

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:3000/" 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