File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ before_script:
33
33
- if [ ${TRAVIS_OS_NAME} = "osx" ]; then ./tools/travis.osx.install.deps.sh; fi
34
34
35
35
script :
36
- # Build
36
+ # build
37
37
- mkdir -p ${AVTRANSCODER_BUILD}
38
38
- cd ${AVTRANSCODER_BUILD}
39
39
- cmake .. -DCMAKE_INSTALL_PREFIX=${AVTRANSCODER_INSTALL} -DCMAKE_PREFIX_PATH=${DEPENDENCY_INSTALL} -DCMAKE_BUILD_TYPE=Release -DAVTRANSCODER_PYTHON_VERSION_OF_BINDING=2.7 -DAVTRANSCODER_COVERAGE=True
40
40
- make $J install
41
41
42
- # Launch tests
42
+ # launch tests
43
43
- if [ ${DEPENDENCY_MODE} = "ffmpeg" ]; then ./../tools/travis.python.nosetests.sh; fi
44
44
45
45
after_success :
@@ -49,10 +49,12 @@ after_success:
49
49
- if [ ${CC} = "gcc" ]; then ./tools/travis.gcc.generate.coverage.sh; fi
50
50
51
51
before_deploy :
52
+ # create archive
52
53
- cd ${TRAVIS_BUILD_DIR}
53
54
- tar -cvzf avtranscoder-dev-${DEPENDENCY_MODE}.tgz ${DEPENDENCY_INSTALL} ${AVTRANSCODER_INSTALL}
54
55
55
56
deploy :
57
+ # if the commit is tagged, deploy using github release service
56
58
provider : releases
57
59
api_key :
58
60
secure : ${GITHUB_RELEASE_API_KEY}
You can’t perform that action at this time.
0 commit comments