Updated .travis.yml
This commit is contained in:
parent
508afd963a
commit
a7a8cc0bf0
30
.travis.yml
30
.travis.yml
|
@ -1,18 +1,18 @@
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/opus
|
||||||
|
- $HOME/bin
|
||||||
|
- $HOME/gopath/bin
|
||||||
|
- $HOME/gopath/pkg
|
||||||
|
- $HOME/gopath/src/github.com/nitrous-io
|
||||||
|
- $HOME/gopath/src/github.com/MichaelOultram/mumbledj/.vendor
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- export PATH=$PATH:~/bin/
|
||||||
|
- export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/opus/lib/pkgconfig
|
||||||
|
- bash install-dependencies.sh
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz
|
- ls -R $HOME/opus
|
||||||
- tar -xvf ffmpeg-release-64bit-static.tar.xz --strip 1 --no-anchored ffmpeg ffprobe
|
|
||||||
- sudo chmod a+rx ffmpeg
|
|
||||||
- sudo chmod a+rx ffprobe
|
|
||||||
- sudo mv ffmpeg /usr/local/bin/ffmpeg
|
|
||||||
- sudo mv ffprobe /usr/local/bin/ffprobe
|
|
||||||
- wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz
|
|
||||||
- tar xzvf opus-1.0.3.tar.gz
|
|
||||||
- cd opus-1.0.3
|
|
||||||
- ./configure
|
|
||||||
- make
|
|
||||||
- sudo make install
|
|
||||||
- cd ..
|
|
||||||
- sudo curl https://yt-dl.org/downloads/2015.07.28/youtube-dl -o /usr/local/bin/youtube-dl
|
|
||||||
- sudo chmod a+rx /usr/local/bin/youtube-dl
|
|
Reference in a new issue