-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from pkuyym/fix_ci
Fix ci
- Loading branch information
Showing
4 changed files
with
34 additions
and
5 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
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
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
SoundFile==0.9.0.post1 | ||
wget==3.2 | ||
scikits.samplerate==0.3.3 | ||
scipy==0.13.0b1 | ||
scipy==0.13.1 |
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 @@ | ||
#!/bin/bash | ||
|
||
# install python dependencies | ||
if [ -f 'requirements.txt' ]; then | ||
pip install -r requirements.txt | ||
fi | ||
if [ $? != 0 ]; then | ||
echo "Install python dependencies failed !!!" | ||
exit 1 | ||
fi | ||
|
||
# install scikits.samplerate | ||
curl -O "http://www.mega-nerd.com/SRC/libsamplerate-0.1.9.tar.gz" | ||
if [ $? != 0 ]; then | ||
echo "Download libsamplerate-0.1.9.tar.gz failed !!!" | ||
exit 1 | ||
fi | ||
tar -xvf libsamplerate-0.1.9.tar.gz | ||
cd libsamplerate-0.1.9 | ||
./configure && make && make install | ||
cd - | ||
rm -rf libsamplerate-0.1.9 | ||
rm libsamplerate-0.1.9.tar.gz | ||
pip install scikits.samplerate==0.3.3 | ||
if [ $? != 0 ]; then | ||
echo "Install scikits.samplerate failed !!!" | ||
exit 1 | ||
fi | ||
|
||
echo "Install all dependencies successfully." |