Skip to content

Commit

Permalink
Test deployment preparation in regular builds (LMMS#4847)
Browse files Browse the repository at this point in the history
Tests whether contributions break packaging inadvertently
  • Loading branch information
jasp00 authored and tresf committed Feb 25, 2019
1 parent 99b06bc commit 4bceb30
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 4 additions & 1 deletion .travis/linux..script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions .travis/linux.win32.script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export CMAKE_OPTS="$CMAKE_FLAGS -DUSE_WERROR=ON"
../cmake/build_mingw32.sh

make -j4

make package
2 changes: 2 additions & 0 deletions .travis/linux.win64.script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export CMAKE_OPTS="$CMAKE_FLAGS -DUSE_WERROR=ON"
../cmake/build_mingw64.sh

make -j4

make package
5 changes: 4 additions & 1 deletion .travis/osx..script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4bceb30

Please sign in to comment.