Coder Social home page Coder Social logo

webrtc-respec-ci's Introduction

webrtc-respec-ci

Script to run continuous integration on a respec-based specification.

Description

This Makefile can be used with the Travis CI continuous integration system (within a .travis.yml file) or locally from a Debian-based system before contributing to a specification maintained by the W3C WebRTC WG.

Commands

setup (to be used locally) - Setup dependencies on Debian-based system

update (to be used locally) - Update dependencies on Debian-based system

travissetup (to be used on Travis) - Setup dependencies on Travis CI

check - Run the following checks on your respec document:

linewrap - Line wrapping. Defaults to 100 chars lines, set desired length with LINEWRAPLENGTH=xx

Usage

Local use

cd WebRTC
git clone [email protected]:w3c/webrtc-respec-ci.git
git clone [email protected]:w3c/mediacapture-main.git
cd mediacapture-main
make -f ../webrtc-respec-ci/Makefile setup
make -f ../webrtc-respec-ci/Makefile check

With Travis

Example .travis.yml file using Travis CI's new container-based infrastructure.

language: python
python:
  - "2.7_with_system_site_packages"
sudo: false
addons:
  apt:
    sources:
      - george-edison55-precise-backports
    packages:
      - libwww-perl
      - libcss-dom-perl
      - python-lxml
      - cmake
      - cmake-data
install:
 - git clone https://github.com/w3c/webrtc-respec-ci.git
 - make -f webrtc-respec-ci/Makefile travissetup
script:
 - make -f webrtc-respec-ci/Makefile check

Line wrapping

This script can help you ensure that your modifications do not break line wrapping of the original document.

Line wrapping using default line length:

make -f ../webrtc-respec-ci/Makefile linewrap

Line wrapping using custom line length:

make -f ../webrtc-respec-ci/Makefile linewrap LINEWRAPLENGTH=80

webrtc-respec-ci's People

Contributors

dontcallmedom avatar vivienlacourba avatar martinthomson avatar

Watchers

rosa maria palacios juncosa 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.