Commit 5a1e7228fec064337415f173f8721def099701f6
1 parent
81bb950f
Refactor CI a bit
I don't understand it still works on Travis CI though.
Showing
2 changed files
with
14 additions
and
8 deletions
.build-ci.sh
0 → 100755
| 1 | +#!/bin/bash | |
| 2 | + | |
| 3 | +set -e # If any step reports a problem consider the whole build a failure | |
| 4 | +wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage | |
| 5 | +sudo mv linuxdeploy-x86_64.AppImage /usr/local/bin | |
| 6 | +sudo chmod +x /usr/local/bin/linuxdeploy-x86_64.AppImage | |
| 7 | +sudo apt update | |
| 8 | +sudo apt install -y shellcheck | |
| 9 | +shellcheck debian/post* debian/pre* | |
| 10 | +./build.sh | |
| 11 | +./FlashMQBuildRelease/FlashMQ --version | |
| 12 | +sudo dpkg -i ./FlashMQBuildRelease/*.deb | |
| 13 | +set +e # Prevent Travis internals from breaking our build, see https://github.com/travis-ci/travis-ci/issues/891 | ... | ... |
.travis.yml
| ... | ... | @@ -28,11 +28,4 @@ jobs: |
| 28 | 28 | compiler: clang |
| 29 | 29 | |
| 30 | 30 | script: |
| 31 | -- set -e # If any step reports a problem consider the whole build a failure | |
| 32 | -- sudo apt update | |
| 33 | -- sudo apt install -y shellcheck | |
| 34 | -- shellcheck debian/post* debian/pre* | |
| 35 | -- ./build.sh | |
| 36 | -- ./FlashMQBuildRelease/FlashMQ --version | |
| 37 | -- sudo dpkg -i ./FlashMQBuildRelease/*.deb | |
| 38 | -- set +e # Prevent Travis internals from breaking our build, see https://github.com/travis-ci/travis-ci/issues/891 | |
| 31 | +- ./.build-ci.sh | ... | ... |