Add Travis configuration for continous testing

Closes #81

Change-Id: I448420568b26a5335b6780289e9118fcf3ef7828
This commit is contained in:
KongQun Yang 2016-02-18 10:48:46 -08:00
parent 0b0a8a721a
commit 74951e3405
2 changed files with 37 additions and 0 deletions

35
.travis.yml Normal file
View File

@ -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+\\./"

View File

@ -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. 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. 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.