File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ before_script:
12
12
- env | sort
13
13
- date -u
14
14
- uname -a
15
-
15
+
16
16
- chmod +x tools/travis.linux.install.deps.sh
17
17
- chmod +x tools/travis.osx.install.deps.sh
18
18
@@ -22,6 +22,10 @@ before_script:
22
22
script :
23
23
- mkdir build
24
24
- cd build
25
- - cmake ..
26
- - make
25
+ - cmake .. -DCMAKE_INSTALL_PREFIX=`pwd`/dist
26
+ - make install
27
27
28
+ after_script :
29
+ - cd ..
30
+ - chmod +x tools/travis.python.nosetests.sh
31
+ - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./tools/travis.python.nosetests.sh; fi
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu trusty-updates mai
6
6
sudo apt-add-repository " deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse"
7
7
sudo apt-get update -qq
8
8
sudo apt-get install -qq gcc g++ cmake swig swig2.0
9
+ sudo apt-get install -qq python-nose
9
10
sudo apt-get install -qq libavdevice-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavresample-dev python-dev freeglut3-dev libxmu-dev doxygen
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ export PYTHONPATH=` pwd` /build/dist/lib:` pwd` /build/dist/lib/python2.7/site-packages/:$PYTHONPATH
4
+
5
+ export AVTRANSCODER_TEST_VIDEO_FILE=` pwd` /data/video/video.mxf
6
+ export AVTRANSCODER_TEST_AUDIO_FILE=` pwd` /data/audio/audio.wav
7
+
8
+ cd test/pyTest
9
+
10
+ nosetests
You can’t perform that action at this time.
0 commit comments