shithub: openh264

ref: 01e31ffe532c1b16d4300ff06f0a081f075ff4f1
dir: /.travis.yml/

View raw version
language: cpp
dist: trusty

compiler:
  - g++
  - clang

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq nasm g++-multilib gcc-multilib libc6-dev-i386

install:
  - make gmp-bootstrap
  - make gtest-bootstrap

before_script:
  - WorkingDir=`pwd`
  - cd test/encoder_binary_comparison
  - ./run_PrepareAllTestData.sh 64
  - cd ${WorkingDir}

env:
  - TASK=UnitTest;      TestParameter=""
  - TASK=BinaryCompare; TestParameter=BA_MW_D.264
  - TASK=BinaryCompare; TestParameter=Zhling_1280x720.264
  - TASK=BinaryCompare; TestParameter=Adobe_PDF_sample_a_1024x768_50Frms.264
matrix:
  exclude:
    - compiler: clang
      env: TASK=BinaryCompare; TestParameter=BA_MW_D.264
    - compiler: clang
      env: TASK=BinaryCompare; TestParameter=Zhling_1280x720.264
    - compiler: clang
      env: TASK=BinaryCompare; TestParameter=Adobe_PDF_sample_a_1024x768_50Frms.264
script:
  -  echo "currrent test is for ${TASK}"
  -  echo "test parameter is ${TestParameter}"
  -  ./run_Test.sh ${TASK}  ${TestParameter}