The Ember web client for Travis CI
![]() This commit fixes handling of branches when using both V3 and V2. The changes include: * proper definition of relationships that reflect V3 structure, so for example build belongs to a branch * setting up inverse records for some of the relationships. without doing that Ember Data can handle relationships in a surprising way, for example if the same record is referenced in 2 places in a belongsTo relationship, Ember Data will remove one of the references without proper inverse definitions * we need to add id when extracting branch as a relationship. Ember Data expects all of the relationships to have an id * lastly, we need to mimic the structure of the V3 API in V2 payloads, so for a build payload I'm now creating a branch record |
||
---|---|---|
app | ||
ci | ||
config | ||
public | ||
ssl | ||
tests | ||
vendor | ||
waiter | ||
.bowerrc | ||
.buildpacks | ||
.editorconfig | ||
.ember-cli | ||
.gitignore | ||
.jshintrc | ||
.rspec | ||
.ruby-version | ||
.slugignore | ||
.travis.yml | ||
.watchmanconfig | ||
bower.json | ||
CONTRIBUTING.md | ||
ember-cli-build.js | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
NOTES.txt | ||
package.json | ||
Procfile | ||
README.md | ||
remove-log-popup.coffee | ||
run_qunit.js | ||
SSL_LOCALLY.md | ||
testem.json |
Travis CI ember web client
Running the app
The app is developed using Ember CLI. It requires nodejs with npm installed.
In order to run the app you need to install dependencies with:
bower install
npm install
Now you can run the server:
ember serve
And open http://localhost:4200 in the browser.
Running tests
To run a test suite execute:
ember test
You can also start an interactive test runner for easier development:
ember test --serve