Skip to content

Script to run continuous integration on a respec-based spec

Notifications You must be signed in to change notification settings

adam-be/webrtc-respec-ci

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Script to run continuous integration on a respec-based spec

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%