The Ember web client for Travis CI
Go to file
Piotr Sarnacki 492802920e Use pushState to set urls
It seems that directly setting location.hash directly doesn't play nice
with Ember.js URL handling - using it to handle line numbers results in
weird bugs (URL stops being updated after setting hash manually).

This commit gets back to using window.history.pushState() which was
changed to direct hash manipulation in ff1aad3
2014-01-20 14:24:05 +01:00
.localeapp Run rake localeapp:update 2013-03-12 14:02:48 +01:00
assets Use pushState to set urls 2014-01-20 14:24:05 +01:00
config switch to puma, make app reload in development mode 2012-10-17 16:19:42 +02:00
lib Use ember.prod.js when compiling for production 2014-01-09 13:20:12 +01:00
locales Merge pull request #249 from travis-ci/ha-bug-ja_locale_update 2014-01-13 07:02:34 -08: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 Use Win XP on sauce labs, also use latest browser version 2013-11-11 11:40:16 +01:00
Assetfile Use ember.prod.js when compiling for production 2014-01-09 13:20:12 +01: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 Remove Bundler patch 2013-12-31 19:51:00 -05: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
LICENSE Fix typo in LICENSE file name 2013-11-28 15:40:13 +01:00
NOTES.txt Use bind-attr instead of deprecated bindAttr. 2014-01-07 21:00:26 -05: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