-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
35 lines (34 loc) · 1.06 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
os: osx
osx_image: xcode7.3
language: bash
before_install:
- if [ ! -d "$HOME/lame-3.99.5/bin" ]; then
curl -L -O http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz;
tar -zxvf lame-3.99.5.tar.gz;
cd lame-3.99.5;
./configure;
make -j2;
sudo make install;
cd ..;
fi;
- curl -L -O http://downloads.sourceforge.net/project/sox/sox/14.4.2/sox-14.4.2-macosx.zip
- unzip sox-14.4.2-macosx.zip
- ./get_language_pack.sh $VOICE
script:
- cd genspeech
- if [ "$TRAVIS_EVENT_TYPE" == "api" ]; then
curl https://moeder.pythonanywhere.com/voicepacker/default/deliver/${BUILD_ID} > modelAlert${BUILD_ID}.txt-mac;
tr -d '\r' < modelAlert${BUILD_ID}.txt-mac > modelAlert${BUILD_ID}.txt;
echo >> modelAlert${BUILD_ID}.txt;
./genspeech $GLOBAL_LANG $VOICE $BUILD_ID $NAME $SPEED;
fi;
- say -v ?
- ls /System/Library/Speech/Voices/
- cd ..
after_success:
- if [ "$TRAVIS_EVENT_TYPE" == "api" ]; then
./push.sh;
fi;
cache:
directories:
- $HOME/lame-3.99.5