.travis.yml
1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: cpp
jobs:
include:
- name: "Ubuntu 18.04 | Clang"
dist: bionic
compiler: clang
- name: "Ubuntu 18.04 | GCC"
dist: bionic
compiler: gcc
- name: "Ubuntu 20.04 | Clang"
dist: focal
compiler: clang
- name: "Ubuntu 20.04 | GCC"
dist: focal
compiler: gcc
- name: "Debian 11 | GCC"
dist: bullseye
compiler: gcc
- name: "Debian 11 | Clang"
dist: bullseye
compiler: clang
- name: "Debian 10 | GCC"
dist: buster
compiler: gcc
- name: "Debian 10 | Clang"
dist: buster
compiler: clang
script:
- set -e # If any step reports a problem consider the whole build a failure
- sudo apt update
- sudo apt install -y shellcheck
- shellcheck debian/post* debian/pre*
- ./build.sh
- ./FlashMQBuildRelease/FlashMQ --version
- sudo dpkg -i ./FlashMQBuildRelease/*.deb
- set +e # Prevent Travis internals from breaking our build, see https://github.com/travis-ci/travis-ci/issues/891