summaryrefslogtreecommitdiffstats
path: root/scripts/linux-trusty-qt512/travisbuild.sh
blob: 1a5c3c4703cab921fe56c767521268ecb4c3a677 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -x
set -e

# this is run to actually trigger the creation of the AppImage
# inside the container

docker exec -t trusty-qt512 bash subsurface/scripts/linux-trusty-qt512/in-container-build.sh 2>&1 | tee build.log

# fail the build if we didn't create Subsurface-mobile
grep "Built target subsurface-mobile" build.log

# fail the build if we didn't create the AppImage
grep "Please consider submitting your AppImage to AppImageHub" build.log