debugging travis

pull/10/head
David 2019-08-02 16:35:11 +09:30
parent 7cc35231ab
commit 4c20759367
1 changed files with 4 additions and 3 deletions

View File

@ -21,10 +21,10 @@ script:
# First build and install vanilla codec2 as we need -lcodec2 to build LPCNet
- git clone https://github.com/drowe67/codec2.git
- cd codec2
- mkdir build_linux && cd build_linux && cmake .. && make VERBOSE=1 codec2
- mkdir build_linux && cd build_linux && cmake .. && make
# OK, build and test LPCNet
- cd $LPCNETDIR && mkdir -p $BUILDDIR && cd $BUILDDIR
- cmake -DCODEC2_BUILD_DIR=$CODEC2DIR/build_linux .. && make VERBOSE=1
- cmake -DCODEC2_BUILD_DIR=$CODEC2DIR/build_linux .. && make
# simple sanity check
- cd src && sox ../../wav/wia.wav -t raw -r 16000 - | ./lpcnet_enc -s | ./lpcnet_dec -s > /dev/null
# some LPCNet ctests
@ -33,7 +33,8 @@ script:
- cd $CODEC2DIR/build_linux
- make clean
- cmake -DLPCNET_BUILD_DIR=$BUILDDIR ..
- make VERBOSE=1
- ls -l
- make
- cd src
# sanity check
- ./freedv_tx 2020 $LPCNETDIR/wav/wia.wav - | ./freedv_rx 2020 - /dev/null