Skip to content

Commit

Permalink
Add Travis configuration for continous testing
Browse files Browse the repository at this point in the history
Closes #81

Change-Id: I448420568b26a5335b6780289e9118fcf3ef7828
  • Loading branch information
kqyang committed Feb 18, 2016
1 parent 0b0a8a7 commit 74951e3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
language: cpp

os:
- linux
- osx

env:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release

before_install:
- test -n $CC && unset CC
- test -n $CXX && unset CXX

install:
- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git ../depot_tools/
- export PATH="$PATH:$PWD/../depot_tools"

before_script:
- mkdir src
- shopt -s extglob dotglob
- mv !(src) src
- gclient config https://widevine-internal.googlesource.com/packager.git --name=src --unmanaged
- gclient sync
- cd src
- ninja -C out/${BUILD_TYPE}

script:
- ( find out/${BUILD_TYPE} -name "*_*test" | while read i ; do $i || exit ; done )
- packager/app/test/packager_test.py -v --build_type ${BUILD_TYPE}

branches:
only:
- master
- "/^v\\d+\\./"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/google/edash-packager.svg?branch=master)](https://travis-ci.org/google/edash-packager)

Media packaging SDK intended for C++ programmers writing DASH packager applications with common encryption support, Widevine DRM support, Live, and Video-On-Demand.

This document provides the information needed to create a DASH packager that is able to remux and encrypt a video into fragmented ISO BMFF format with common encryption (CENC) support. The DASH packaging API is also designed in such a way for easy extension to more source and destination formats.
Expand Down

0 comments on commit 74951e3

Please # to comment.