Skip to content

Commit 813923d

Browse files
author
Clement Champetier
committed
Merge branch 'develop' of https://github.com/avTranscoder/avTranscoder into dev_addTestsForProcessStat
2 parents 96cd138 + 2eeae46 commit 813923d

File tree

18 files changed

+55
-124
lines changed

18 files changed

+55
-124
lines changed

.travis.yml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,27 @@ env:
2121
- DEPENDENCY_INSTALL=install-dependency
2222
- DEPENDENCY_INSTALL_PATH=${TRAVIS_BUILD_DIR}/${DEPENDENCY_INSTALL}
2323
matrix:
24-
- DEPENDENCY_MODE=libav ENABLE_COVERAGE=true
25-
- DEPENDENCY_MODE=libav ENABLE_COVERAGE=false
26-
- DEPENDENCY_MODE=ffmpeg ENABLE_COVERAGE=true
27-
- DEPENDENCY_MODE=ffmpeg ENABLE_COVERAGE=false
24+
- DEPENDENCY_NAME=libav DEPENDENCY_VERSION=11.3 ENABLE_COVERAGE=true
25+
- DEPENDENCY_NAME=libav DEPENDENCY_VERSION=11.3 ENABLE_COVERAGE=false
26+
- DEPENDENCY_NAME=ffmpeg DEPENDENCY_VERSION=2.2.9 ENABLE_COVERAGE=true
27+
- DEPENDENCY_NAME=ffmpeg DEPENDENCY_VERSION=2.2.9 ENABLE_COVERAGE=false
2828

2929
matrix:
30-
# generate coverage only with gcc
3130
exclude:
31+
# generate coverage only with gcc
3232
- compiler: clang
33-
env: DEPENDENCY_MODE=ffmpeg ENABLE_COVERAGE=true
33+
env: DEPENDENCY_NAME=ffmpeg DEPENDENCY_VERSION=2.2.9 ENABLE_COVERAGE=true
3434
- compiler: clang
35-
env: DEPENDENCY_MODE=libav ENABLE_COVERAGE=true
36-
allow_failures:
35+
env: DEPENDENCY_NAME=libav DEPENDENCY_VERSION=11.3 ENABLE_COVERAGE=true
36+
# generate coverage only on linux
3737
- os: osx
38+
env: DEPENDENCY_NAME=libav DEPENDENCY_VERSION=11.3 ENABLE_COVERAGE=true
39+
- os: osx
40+
env: DEPENDENCY_NAME=ffmpeg DEPENDENCY_VERSION=2.2.9 ENABLE_COVERAGE=true
3841
fast_finish: true
3942

4043
# This results in a 2×2×2x2 build matrix.
41-
# Where the variables are: os / compiler / DEPENDENCY_MODE / ENABLE_COVERAGE
44+
# Where the variables are: os / compiler / DEPENDENCY_NAME / ENABLE_COVERAGE
4245

4346
addons:
4447
apt:
@@ -58,7 +61,7 @@ cache:
5861
- ${DEPENDENCY_INSTALL_PATH}
5962

6063
before_script:
61-
- env | sort
64+
- env | sort
6265
- date -u
6366
- uname -a
6467

@@ -76,7 +79,7 @@ script:
7679
- ./tools/travis/build.sh
7780

7881
# launch tests
79-
- if [ ${DEPENDENCY_MODE} = "ffmpeg" ]; then ./tools/travis/python.nosetests.sh; fi
82+
- if [ ${TRAVIS_OS_NAME} = "linux" ] && [ ${DEPENDENCY_NAME} = "ffmpeg" ]; then ./tools/travis/python.nosetests.sh; fi
8083

8184
after_success:
8285
# generate coverage for coveralls
@@ -87,13 +90,13 @@ before_deploy:
8790
- if [ ${TRAVIS_OS_NAME} = "linux" ]; then cp /lib/x86_64-linux-gnu/{libbz2.so.1,libbz2.so.1.0,libbz2.so.1.0.4} ${DEPENDENCY_INSTALL_PATH}/lib; fi
8891
# create archive
8992
- cd ${TRAVIS_BUILD_DIR}
90-
- tar -cvzf avtranscoder-${TRAVIS_OS_NAME}-${CC}-${DEPENDENCY_MODE}.tgz ${DEPENDENCY_INSTALL} ${AVTRANSCODER_INSTALL}
93+
- tar -cvzf avtranscoder-${TRAVIS_OS_NAME}-${CC}-${DEPENDENCY_NAME}-${DEPENDENCY_VERSION}.tgz ${DEPENDENCY_INSTALL} ${AVTRANSCODER_INSTALL}
9194

9295
deploy:
9396
provider: releases
9497
api_key:
9598
secure: ${GITHUB_RELEASE_API_KEY}
96-
file: avtranscoder-${TRAVIS_OS_NAME}-${CC}-${DEPENDENCY_MODE}.tgz
99+
file: avtranscoder-${TRAVIS_OS_NAME}-${CC}-${DEPENDENCY_NAME}-${DEPENDENCY_VERSION}.tgz
97100
skip_cleanup: true
98101
on:
99102
branch: master

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ C++ API for Libav / FFmpeg
55
Based on Libav/FFmpeg libraries to support various video and audio formats, avTranscoder provides the high level API to re-wrap or transcode media easily.
66

77
[![Build Status](https://travis-ci.org/avTranscoder/avTranscoder.svg?branch=develop)](https://travis-ci.org/avTranscoder/avTranscoder)
8+
[![Build status](https://ci.appveyor.com/api/projects/status/6urf0otyhtj8xuny?svg=true)](https://ci.appveyor.com/project/cchampet/avtranscoder)
89
[![Coverage Status](https://coveralls.io/repos/avTranscoder/avTranscoder/badge.svg)](https://coveralls.io/r/avTranscoder/avTranscoder)
910
<a href="https://scan.coverity.com/projects/2626"><img alt="Coverity Scan Build Status" src="https://scan.coverity.com/projects/2626/badge.svg"/></a>
1011
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/avTranscoder/avtranscoder/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

app/avInfo/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,3 @@ install(
2222
DESTINATION "bin/"
2323
OPTIONAL
2424
)
25-
26-
install(
27-
FILES ${CMAKE_CURRENT_SOURCE_DIR}/avinfo.man
28-
RENAME "avinfo.1"
29-
DESTINATION "share/man/man1/"
30-
)

app/avInfo/avinfo.man

Lines changed: 0 additions & 11 deletions
This file was deleted.

app/avMeta/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,3 @@ install(
2222
DESTINATION "bin/"
2323
OPTIONAL
2424
)
25-
26-
install(
27-
FILES ${CMAKE_CURRENT_SOURCE_DIR}/avmeta.man
28-
RENAME "avmeta.1"
29-
DESTINATION "share/man/man1/"
30-
)

app/avMeta/avmeta.man

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/avPlay/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,3 @@ install(
4444
DESTINATION "bin/"
4545
OPTIONAL
4646
)
47-
48-
install(
49-
FILES ${CMAKE_CURRENT_SOURCE_DIR}/avplay.man
50-
RENAME avplay.1
51-
DESTINATION "share/man/man1/"
52-
)

app/avPlay/avplay.man

Lines changed: 0 additions & 11 deletions
This file was deleted.

app/avProcessor/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,3 @@ install(
2222
DESTINATION "bin/"
2323
OPTIONAL
2424
)
25-
26-
install(
27-
FILES ${CMAKE_CURRENT_SOURCE_DIR}/avprocessor.man
28-
RENAME avprocessor.1
29-
DESTINATION "share/man/man1/"
30-
)

app/avProcessor/avprocessor.man

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy