Code Monkey home page Code Monkey 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:

tidy - Cleanup your document markup using tidy-html5

Usage

Local use

Example usage on the Media Capture and Streams specification

git clone [email protected]:w3c/mediacapture-main.git
cd mediacapture-main
make setup
make check

The mediacapture-main/Makefile script will take care of installing and setting up webrtc-respec-ci and its dependencies automatically.

With Travis

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

language: python

dist: trusty

branches:
  only:
    - /.*/

sudo: false

addons:
  apt:
    packages:
      - libwww-perl
      - libcss-dom-perl
  chrome: stable

cache:
  directories:
    - node_modules # NPM packages

before_install:
  - nvm install lts/*

install:
 - make travissetup

script:
 - make check

Line wrapping

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

Check line wrapping (using default line length of 100 characters defined in webrtc-respec-ci/tidy.config):

LINEWRAP=true make tidycheck

You can define a specific line length for your document by editing tidy.config and setting the wrap option to the desired line length eg wrap: 80.

webrtc-respec-ci's People

Contributors

dontcallmedom avatar vivienlacourba avatar adam-be avatar alvestrand avatar martinthomson avatar tripu avatar

Watchers

James Cloos 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.