Test deployment preparation in regular builds (#4847)

Tests whether contributions break packaging inadvertently
This commit is contained in:
Javier Serrano Polo
2019-02-25 03:53:05 +01:00
committed by Tres Finocchiaro
parent e7720cc8cb
commit 31dc8e18ff
5 changed files with 12 additions and 4 deletions

View File

@@ -35,8 +35,6 @@ script:
- . ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.script.sh
after_script:
- ccache -s
before_deploy:
- if [ "$TARGET_OS" != debian-sid ]; then make package; fi
deploy:
provider: releases
api_key:

View File

@@ -7,8 +7,11 @@ if [ $QT5 ]; then
source /opt/qt59/bin/qt59-env.sh
fi
cmake -DUSE_WERROR=ON $CMAKE_FLAGS ..
cmake -DCMAKE_INSTALL_PREFIX=../target/ -DUSE_WERROR=ON $CMAKE_FLAGS ..
make -j4
make tests
./tests/tests
make install
make appimage

View File

@@ -6,3 +6,5 @@ export CMAKE_OPTS="$CMAKE_FLAGS -DUSE_WERROR=ON"
../cmake/build_mingw32.sh
make -j4
make package

View File

@@ -6,3 +6,5 @@ export CMAKE_OPTS="$CMAKE_FLAGS -DUSE_WERROR=ON"
../cmake/build_mingw64.sh
make -j4
make package

View File

@@ -7,8 +7,11 @@ if [ $QT5 ]; then
export CMAKE_PREFIX_PATH="$(brew --prefix qt5)"
fi
cmake $CMAKE_FLAGS -DUSE_WERROR=OFF ..
cmake -DCMAKE_INSTALL_PREFIX=../target/ $CMAKE_FLAGS -DUSE_WERROR=OFF ..
make -j4
make tests
./tests/tests
make install
make dmg