forked from avTranscoder/avTranscoder
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Clement Champetier
committed
Apr 13, 2015
1 parent
05389cd
commit d1b2fdd
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
os: | ||
- Windows Server 2012 R2 | ||
|
||
platform: | ||
- x86 | ||
- Any CPU | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
init: | ||
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %platform% | ||
|
||
before_build: | ||
- choco install -y swig | ||
- tools/appveyor.win.install.deps.bat | ||
|
||
build_script: | ||
- MKDIR build | ||
- cd build | ||
- call cmake.exe .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%~dp0 -DCMAKE_PREFIX_PATH="%~dp0\ffmpeg-2.2.11-win32-dev" | ||
- call nmake /F Makefile install | ||
|
||
before_test: | ||
- pip install nosetests | ||
|
||
test_script: | ||
- cd .. | ||
- tools/appveyor.python.nosetests.bat | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
set PWD=%~dp0 | ||
|
||
:: Get avtranscoder library | ||
set PYTHONPATH=%PWD%/build/dist/lib/python2.7.6/site-packages/:%PYTHONPATH% | ||
|
||
:: Get avtranscoder profiles | ||
set AVPROFILES=%PWD%/build/dist/share/ressource | ||
|
||
:: Get assets | ||
git clone https://github.com/avTranscoder/avTranscoder-data.git | ||
set AVTRANSCODER_TEST_VIDEO_FILE=%PWD%/avTranscoder-data/video/BigBuckBunny/BigBuckBunny_480p_stereo.avi | ||
set AVTRANSCODER_TEST_AUDIO_WAVE_FILE=%PWD%/avTranscoder-data/audio/frequenciesPerChannel.wav | ||
set AVTRANSCODER_TEST_AUDIO_MOV_FILE=%PWD%/avTranscoder-data/video/BigBuckBunny/BigBuckBunny_1080p_5_1.mov | ||
|
||
:: Launch tests | ||
cd test/pyTest | ||
nosetests | ||
|