GithubHelp home page GithubHelp logo

arsduo / travis-ci Goto Github PK

View Code? Open in Web Editor NEW

This project forked from travis-ci/travis-ci

1.0 2.0 0.0 4.17 MB

A distributed build system for the Ruby community. See also github.com/travis-ci/travis-worker and github.com/travis-ci/travis-cookbooks

Home Page: http://travis-ci.org

License: MIT License

Ruby 32.01% JavaScript 67.99%

travis-ci's Introduction

Travis – a distributed build system

Travis is an attempt to create an open-source, distributed build system for the Ruby community that:

1. allows open-source projects to register their repository and have their test-suites run on demand
2. allows users to contribute build capacities by connecting a VM that runs a build agent somewhere on their underused servers

Contact

User Documentation

Developer Documentation

Other sources

Overview

Travis consists of four main parts:

  • A Backbone.js single-page application that runs client side.
  • A Rails 3 application that serves to the in-browser application and takes pings from Github.
  • A Resque worker for running a project’s test suite remotely.
  • A websocket server (we use Pusher) for tailing build results to the browser.

You can also watch this (quite old, but still valid) screencast to get an idea: 1:20 quick demo screencast

Goals

With Travis CI our vision is to become for builds (i.e. tests, for starters) what rubygems.org is for gems.

Our goal is to build a rock solid, but dead-easy to use open-source continuous integration service for the Ruby community.

We try to follow the 80/20 for requirements. I.e. we focus on the most common use cases for testing Ruby Gems.

Travis CI does not currently support closed in-house installations, although we know of people working on this. Ask on the IRC channel for more information.

Running the tests

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

$ RAILS_ENV=jasmine rake db:migrate db:seed
$ rails s thin -e jasmine
$ open http://localhost:3000

To run the whole test suite simply do:

$ rake test

Design Iterations

First spike

My first spike was using Nanite for running workers.

Requirements

  • Ruby 1.8.7 or Ruby 1.9.2 (Ruby 1.9.1 is not supported).

travis-ci's People

Contributors

joshk avatar sferik avatar ifesdjeen avatar dmathieu avatar michaelklishin avatar rubiii avatar parndt avatar sweed avatar hoverlover avatar franckverrot avatar lenary avatar arunagw avatar brucespang avatar fritzek avatar benedikt avatar koraktor avatar joelmahoney avatar guilleiguaran avatar gilesbowkett avatar acook avatar arsduo avatar akahn avatar antekpiechnik avatar ariejan avatar kimptoc avatar dbussink avatar drnic avatar jamesalmond avatar kronn avatar niklas avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.