diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..5043b4abf2 --- /dev/null +++ b/.travis.yml @@ -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+\\./" diff --git a/README.md b/README.md index c8b9b38630..88fa028d66 100644 --- a/README.md +++ b/README.md @@ -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.