From ed83c3980731470f6c38158b1ee1d8340af37c4a Mon Sep 17 00:00:00 2001 From: wangqr Date: Mon, 9 Mar 2020 10:20:38 -0400 Subject: [PATCH] Add back unit test to macOS This reverts commit 272c2f48f1ac166ba6346d1ce58fce32b7e0bd92. --- .travis.yml | 1 + .travis/install.sh | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 88a9451d5..abe9bda34 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,6 +59,7 @@ script: ./autogen.sh; ./configure --enable-debug || cat config.log; make -j2 || travis_terminate 1; + make test || travis_terminate 1; elif [ "$BUILD_SUIT" = "autotools" ]; then export CPPFLAGS="-fprofile-arcs -ftest-coverage"; export LIBS="-lgcov"; diff --git a/.travis/install.sh b/.travis/install.sh index ac5f29acd..405a139ca 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -3,11 +3,8 @@ set -e if [ $TRAVIS_OS_NAME = 'osx' ]; then - brew install autoconf ffmpeg freetype gettext ffms2 fftw fribidi libass m4 icu4c boost wxmac lua + brew install autoconf ffmpeg freetype gettext ffms2 fftw fribidi libass m4 icu4c boost wxmac lua luarocks else - sudo luarocks install busted > /dev/null - sudo luarocks install moonscript > /dev/null - sudo luarocks install uuid > /dev/null # Remove the CMake provided by travis sudo rm -rf /usr/local/cmake* if [ "$BUILD_SUIT" = "autotools" ]; then @@ -21,3 +18,6 @@ else popd; fi fi +sudo luarocks install busted > /dev/null +sudo luarocks install moonscript > /dev/null +sudo luarocks install uuid > /dev/null