From a7a8cc0bf062f6037e237e053275b3c6cdb98aad Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Sun, 9 Aug 2015 23:48:55 +0100 Subject: [PATCH] Updated .travis.yml --- .travis.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0fa366f..8864edb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,18 @@ 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: - - wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz - - 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 \ No newline at end of file + - ls -R $HOME/opus \ No newline at end of file