diff --git a/.travis.yml b/.travis.yml index d7a4f5e..5e6ff40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ cache: directories: - $HOME/.ccache - $HOME/.cache/apt - - $HOME/.cache/mpv-build + #- $HOME/.cache/mpv-build before_install: - mkdir -p $HOME/.cache/apt/partial diff --git a/scripts/build-mpv.sh b/scripts/build-mpv.sh index e9dce3c..500ccd6 100755 --- a/scripts/build-mpv.sh +++ b/scripts/build-mpv.sh @@ -5,11 +5,6 @@ export OLDDIR=`pwd` export CFLAGS="-fPIC -Os" -export CCACHE_SLOPPINESS=time_macros -export CCACHE=`which ccache` - -cd $HOME/.cache - git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build || true cd mpv-build @@ -32,7 +27,7 @@ git clone --depth 1 https://github.com/libass/libass.git libass || true echo "--enable-libmpv-shared --prefix=/usr" > mpv_options echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive --disable-zlib --disable-tv --disable-debug-build --disable-manpage-build --disable-vapoursynth --disable-libsmbclient" >> mpv_options -./build -j`nproc` +./rebuild -j`nproc` sudo ./install ccache -s cd $OLDDIR