The Ember web client for Travis CI
Switch branches/tags
enterprise-2.90 enterprise-2.0 deploy.2014-11-13.17-08 deploy.2014-10-18.15-44 deploy.2014-09-12.14-25 deploy.2014-09-12.14-11 deploy.2014-09-12.09-36 deploy.2014-08-22.15-24 deploy.2014-08-22.14-56 deploy.2014-08-22.14-52 deploy.2014-08-22.06-13 deploy.2014-08-21.15-09 deploy.2014-08-15.04-27 deploy.2014-08-15.04-05 deploy.2014-08-15.03-44 deploy.2014-08-13.13-47 deploy.2014-08-12.14-30 deploy.2014-07-30.11-38 deploy.2014-07-29.16-05 deploy.2014-07-29.16-04 deploy.2014-07-29.16-03 deploy.2014-07-23.08-30 deploy.2014-07-23.08-27 deploy.2014-07-17.10-01 deploy.2014-07-16.16-52 deploy.2014-06-26.16-09 deploy.2014-06-26.16-02 deploy.2014-06-26.14-27 deploy.2014-06-23.13-17 deploy.2014-06-20.13-52 deploy.2014-06-19.12-44 deploy.2014-06-18.13-37 deploy.2014-06-17.14-42 deploy.2014-05-27.10-14 deploy.2014-05-12.09-19 deploy.2014-05-12.09-12 deploy.2014-05-09.16-02 deploy.2014-05-09.09-32 deploy.2014-05-09.09-05 deploy.2014-05-09.08-31 deploy.2014-05-09.05-43 deploy.2014-05-09.02-56 deploy.2014-05-08.15-37 deploy.2014-05-06.12-58 deploy.2014-05-06.12-02 deploy.2014-05-06.12-01 deploy.2014-05-06.08-45 deploy.2014-05-05.13-42 deploy.2014-05-05.08-19 deploy.2014-04-30.13-03 deploy.2014-04-30.01-40 deploy.2014-04-17.11-44 deploy.2014-04-08.22-14 deploy.2014-03-20.16-38 deploy.2014-03-20.06-28 deploy.2014-03-19.14-10 deploy.2014-03-18.09-54 deploy.2014-03-04.14-40 deploy.2014-02-27.18-19 deploy.2014-02-25.10-18 deploy.2014-02-25.10-15 deploy.2014-02-25.10-11 deploy.2014-02-24.22-50 deploy.2014-02-24.22-47 deploy.2014-02-20.14-39 deploy.2014-02-17.13-55 deploy.2014-02-17.13-53 deploy.2014-02-13.14-54 deploy.2014-02-12.16-59 deploy.2014-02-12.12-42 deploy.2014-02-12.10-09 deploy.2014-02-07.22-46 deploy.2014-01-29.13-46 deploy.2014-01-28.17-29 deploy.2014-01-28.15-08 deploy.2014-01-27.12-58 deploy.2014-01-20.13-27 deploy.2014-01-20.11-54 deploy.2014-01-14.17-28 deploy.2014-01-13.15-23 deploy.2014-01-10.18-51 deploy.2014-01-09.12-23 deploy.2014-01-09.11-44 deploy.2014-01-02.13-57 deploy.2013-12-19.13-40 deploy.2013-12-12.18-46 deploy.2013-11-28.17-28 deploy.2013-11-11.10-09 deploy.2013-10-18.12-24 deploy.2013-10-15.18-02 deploy.2013-10-14.21-35 deploy.2013-10-14.21-18 deploy.2013-10-14.16-29 deploy.2013-10-14.16-27 deploy.2013-10-14.15-58 deploy.2013-10-07.15-18 deploy.2013-10-04.14-32 deploy.2013-10-02.14-13 deploy.2013-10-01.12-30 deploy.2013-10-01.09-43
Nothing to show
Clone or download
backspace Add workaround to preserve user installation (#1810)
User installations are somehow being deleted since the
merger of #1782. While my true desire is to figure out
why that’s the case, this is a workaround in the meantime,
as the serialiser code that’s likely responsible is often
still quite opaque to me.
Latest commit 7ff885a Sep 20, 2018
Permalink
Failed to load latest commit information.
app Add workaround to preserve user installation (#1810) Sep 20, 2018
config Reorganize and add plans and pricing to footer (#1799) Sep 14, 2018
mirage Add builds section to dashboard (#1798) Sep 18, 2018
public Email settings and unsubscribe (#1760) Sep 18, 2018
scripts Prefer passed in branch over $TRAVIS_BRANCH (#1265) Aug 28, 2017
server Update Ember and family to 2.18 (#1484) Jan 23, 2018
ssl Update ssl keys for localhost Dec 8, 2015
tests Revert "Fix log blanks (#1783)" (#1808) Sep 19, 2018
vendor Use prepackaged babel-polyfill instead of one in vendor (#784) Nov 10, 2016
waiter Remove CSP code from waiter (#1692) Jun 1, 2018
.editorconfig Upgrade Ember-CLI to 2.7.0 (#632) Jul 27, 2016
.ember-cli Add the rest of ember-cli app Feb 3, 2015
.eslintignore Update Ember CLI to 3.4 (#1784) Sep 10, 2018
.eslintrc.js Update Ember CLI to 3.4 (#1784) Sep 10, 2018
.gitignore Update Ember CLI to 3.3 and Node to 10.7 (#1731) Aug 1, 2018
.rspec Add some color to rspec Nov 10, 2012
.ruby-version update ruby version Sep 15, 2017
.slugignore Don't ignore assets directory when building slug Oct 30, 2012
.template-lintrc.js Update Ember CLI to 3.4 (#1784) Sep 10, 2018
.travis.yml Add cron jobs for testing Ember betas (#1762) Aug 28, 2018
.watchmanconfig Update ember-cli to 1.13.12 (ember.js 1.13.10, ember-data 1.13.15) Dec 8, 2015
CODE_OF_CONDUCT.md Adding CoC Aug 1, 2018
CONTRIBUTING.md Added missing word "repo" Mar 19, 2013
Dockerfile Update ember-cli-sentry and remove Bower (#1526) Mar 15, 2018
Gemfile Update sinatra Apr 12, 2018
Gemfile.lock Update sinatra Apr 12, 2018
ISSUE_TEMPLATE.md Add issue template from `beta-features` repo (#1319) Sep 21, 2017
LICENSE changes made to profile page including increased type size for readab… Jan 4, 2014
Procfile Remove CoffeeScript comments across project Apr 18, 2016
README.md Update Ember CLI to 3.4 (#1784) Sep 10, 2018
docker-compose.yml Add docker configurations for nightly quay releases (#1263) Aug 28, 2017
ember-cli-build.js Update Ember CLI to 3.4 (#1784) Sep 10, 2018
package-lock.json Add builds section to dashboard (#1798) Sep 18, 2018
package.json Add builds section to dashboard (#1798) Sep 18, 2018
testem.js Update Ember CLI to 3.3 and Node to 10.7 (#1731) Aug 1, 2018

README.md

Travis CI ember web client

Build Status

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:

npm install

And then install ember-cli globally in order to have access to the ember command:

npm install -g ember-cli

Now you can run the server:

ember serve

And open http://localhost:4200 in the browser.

Alternatively you can run ember build --watch and start the server with waiter/script/server

Waiter Workarounds

Should you encounter issues installing Puma while bundling Waiter on a recent OSX version, you need to tinker with Homebrew:

brew install openssl
brew link --force openssl

You should then be able to run bundle install as usual.

Running the app in private repos mode

At the moment Travis CI is available as two separate sites - https://travis-ci.org for Open Source projects and https://travis-ci.com for private projects. travis-web will connect to the Open Source version by default. In order to connect it to the API for private projects you need to run:

TRAVIS_PRO=true ember serve --ssl --ssl-key=ssl/server.key --ssl-cert=ssl/server.crt

One caveat here is that the command will start server with SSL, so the page will be accessible at https://localhost:4200 (note https part).

Running on SSL in general

Sometimes there is a need to test the app with an SSL connection. This is required to make Pusher work when running Travis CI Pro, but it may also be needed in other situations.

There's already an SSL certificate in the ssl directory, which is set for localhost host. If you want to use it, you can start the server with:

ember serve --ssl --ssl-key=ssl/server.key --ssl-cert=ssl/server.crt

In case you want your own certificate, you can follow the instructions posted here: https://gist.github.com/trcarden/3295935 and then point the server to your certificate with --ssl-key and --ssl-cert.

Running tests

To run the test suite execute:

ember test

You can also start an interactive test runner for easier development:

ember test --serve

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Feature Flags

travis-web is beginning the transition to use feature flags wherever it makes sense. To enable/disable/add/remove a feature flag for the application, you can edit the config/environment.js file. For instance, to enable some-feature, you would simply add/update the file like so:

  {
    featureFlags: {
      'some-feature': true
    }
  }

This uses the awesome ember-feature-flags addon under the hood, so be sure to read its own documentation for more information.

Debugging

Ember's default logging has been disabled in all environments by default and moved to a feature flag. To enable it, simply edit the debug-logging feature flag as mentioned previously in the Feature Flags section.

Deploying

ember-cli-deploy is available for deploying pull requests. See after_success in .travis.yaml and associated scripts for details. It uses the “lightning strategy” of deploying assets to S3 and index.html to a Redis server. You can deploy from your own machine too:

AWS_KEY=key AWS_SECRET=secret ORG_PRODUCTION_REDIS_URL=redis TRAVIS_PULL_REQUEST_BRANCH=branch \
ember deploy org-production-pull-request --activate

After success, your deployment will be available at branch.test-deployments.travis-ci.org.

See the documentation for the full list of deployment environments and more details.

The Redis server is a modified version of waiter/lib/travis/web/app.rb. We will eventually replace that with travis-web-index and move to using ember-cli-deploy for all deployments.

Ember beta and canary deployments

Upon a merge to master, the application is built with the latest beta and canary versions of Ember, running against the production API. This uses the same infrastructure as the pull request deployments. You can visit these deployments at:

These deployments are also performed with the weekly cron build.