Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript CSS Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets
config
lib resurrect the status image too, but hide the branch selector for now
public
spec
.gitignore
.travis.yml
AssetFile ignore events where we don't have a callback
Gemfile
Gemfile.lock
Guardfile use guard for rebuilding assets
Manifest
Procfile use unicorn
README.md
Rakefile copy public/current to public/version
config.ru
travis-assets.gemspec

README.md

travis-assets

Serves two purposes:

  • serve assets on http://assets.travis-ci.org in production
  • act as a Rails engine in development mode so that assets are directly served from the travis-ci Rails app

Modifying assets in development

When you're working on travis-ci locally and want to see your asset modifications immediately on your locally running version, in your local travis-ci's Gemfile change the reference of travis-assets from git to your local checkout, like so:

#gem 'travis-assets',  git: 'https://github.com/travis-ci/travis-assets', require: 'travis/assets/railtie'
gem 'travis-assets', path: '../travis-assets', require: 'travis/assets/railtie'

Re-bundle travis-ci and in travis-assets, run bundle exec guard. This will recompile your assets whenever you modify something, and your running instance of travis-ci should pick them up automatically.

Running the tests

Integration tests are implemented using Jasmine and can be run in the browser.

To run the whole test suite, simply do:

$ bundle install # Only needed on the first run
$ bundle exec rake jasmine:ci
Something went wrong with that request. Please try again.