[skip ci]
This commit is contained in:
brindosch 2016-08-30 23:51:32 +02:00
parent c5beedf241
commit f6a8c8eb01
1 changed files with 9 additions and 4 deletions

View File

@ -24,15 +24,20 @@ if [[ -n $TRAVIS_TAG ]]; then
cmake -DPLATFORM=x86 -DCMAKE_BUILD_TYPE=Release .. || exit 2
make -j$(nproc) || exit 3
# Compile hyperion for cron or PR
else
cmake -DPLATFORM=x86-dev -DCMAKE_BUILD_TYPE=Debug .. || exit 4
# Compile hyperion for cron
elif [[ $TRAVIS_EVENT_TYPE == 'cron' ]]; then
cmake -DPLATFORM=x86 -DCMAKE_BUILD_TYPE=Debug .. || exit 4
make -j$(nproc) || exit 5
# Compile for PR
else
cmake -DPLATFORM=x86-dev -DCMAKE_BUILD_TYPE=Debug .. || exit 6
make -j$(nproc) || exit 7
fi
# Build the package on Linux
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
make -j$(nproc) package || exit 6
make -j$(nproc) package || exit 8
fi