The Ember web client for Travis CI
Go to file
Hiro Asari 3f30eecc7d Add granular permission levels to User
Display buttons for job control only if the user has permission to do
so.
2013-11-06 15:00:46 -05:00
.localeapp Run rake localeapp:update 2013-03-12 14:02:48 +01:00
assets Add granular permission levels to User 2013-11-06 15:00:46 -05:00
config switch to puma, make app reload in development mode 2012-10-17 16:19:42 +02:00
lib Drop redirect logic for API other than images and/or cc.xml 2013-09-13 13:06:38 +02: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 add rel='stylesheet' to the google fonts link 2013-10-14 23:28:47 +02:00
script Change spec runner to qunit 2013-07-30 17:12:58 +02:00
spec Drop redirect logic for API other than images and/or cc.xml 2013-09-13 13:06:38 +02:00
.buildpacks Change buildpacks 2012-10-30 02:20:58 +01:00
.gitignore Add generated emoji images to gitignore 2013-09-24 11:02:48 +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 Accidentaly commited change to ruby 2.0.0 2013-10-29 18:50:56 +01:00
Gemfile.lock Update lib8 and rubyracer 2013-10-29 17:12:03 +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 Add rake task to update emoij.coffee. 2013-09-23 17:39:26 +02:00
README.md Only use master branch for build status image 2013-09-28 06:30:00 -04: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