The Ember web client for Travis CI
Go to file
Piotr Sarnacki 95619b42fb Don't filter env vars in controller
Depending on isNew can result in rerendering templates in some cases, which will
also create a new object controller, which in turn will reset isEditing value.
2015-02-06 13:20:56 +01:00
app Don't filter env vars in controller 2015-02-06 13:20:56 +01:00
config Use empty apiEndpoint for tests 2015-02-05 12:40:27 +01:00
public Move assets/images to public/images 2015-02-05 15:27:58 +01:00
tests Add the rest of ember-cli app 2015-02-03 09:53:42 +01:00
vendor Move log to vendor/ 2015-02-04 23:08:22 +01:00
waiter Set expires to and max-age to 0 for index.html 2015-02-06 11:15:58 +01:00
.bowerrc Add the rest of ember-cli app 2015-02-03 09:53:42 +01:00
.buildpacks Use travis-web-ember-cli-buildpack 2015-02-03 11:08:31 +01:00
.editorconfig Add the rest of ember-cli app 2015-02-03 09:53:42 +01:00
.ember-cli Add the rest of ember-cli app 2015-02-03 09:53:42 +01:00
.gitignore Add the rest of ember-cli app 2015-02-03 09:53:42 +01:00
.jshintrc Add the rest of ember-cli app 2015-02-03 09:53:42 +01:00
.rspec Add some color to rspec 2012-11-10 15:47:33 +01:00
.ruby-version fixed the build header cut-off on pull requests 2014-12-10 21:30:45 +01:00
.slugignore Don't ignore assets directory when building slug 2012-10-30 02:23:06 +01:00
.travis.yml Forgot to add SauceConnect 2015-02-05 10:36:49 +01:00
bower.json Update ember-data to beta14 2015-02-06 09:13:10 +01:00
Brocfile.js Fingerprint also svg files 2015-02-06 11:42:42 +01:00
CONTRIBUTING.md Added missing word "repo" 2013-03-18 23:05:06 -03:00
Gemfile Revert "Move Gemfile to waiter" 2015-02-06 08:38:33 +01:00
Gemfile.lock Revert "Move Gemfile to waiter" 2015-02-06 08:38:33 +01: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
package.json Force inline images 0.0.3 2015-02-06 10:39:41 +01:00
Procfile Move server/ to waiter/ 2015-02-03 10:13:48 +01:00
README.md Change port for localhost example [skip ci] 2014-01-25 09:08:30 -05:00
run_qunit.js Change spec runner to qunit 2013-07-30 17:12:58 +02:00
testem.json Don't test on safari on sauce labs for now 2015-02-06 08:57:56 +01: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: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