-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
56 lines (54 loc) · 2.3 KB
/
.travis.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
dist: xenial
language: cpp
services:
- docker
jobs:
include:
- &build
stage: build
name: Compilation & tests (Release, clang 9, qt5)
install:
- docker pull dkormalev/asynqro-builder:latest
script:
- docker run --rm -v $(pwd):/asynqro -e "CXX=clang++" -e "CC=clang" dkormalev/asynqro-builder Release
- <<: *build
name: Compilation & tests (Release, gcc 9, qt5)
script:
- docker run --rm -v $(pwd):/asynqro -e "CXX=g++" -e "CC=gcc" dkormalev/asynqro-builder Release
- <<: *build
name: Compilation & tests (Release, clang 9, no qt)
script:
- docker run --rm -v $(pwd):/asynqro -e "CXX=clang++" -e "CC=clang" --entrypoint=/build_noqt.sh dkormalev/asynqro-builder Release
- <<: *build
name: Compilation & tests (Release, gcc 9, no qt)
script:
- docker run --rm -v $(pwd):/asynqro -e "CXX=g++" -e "CC=gcc" --entrypoint=/build_noqt.sh dkormalev/asynqro-builder Release
- <<: *build
name: Clang-tidy check (clang-tidy 9)
script:
- docker run --rm -v $(pwd):/asynqro -e "CXX=clang++" -e "CC=clang" --entrypoint=/clangtidy_check.sh dkormalev/asynqro-builder
- <<: *build
name: Codestyle check (clang-format 9)
script:
- docker run --rm -v $(pwd):/asynqro --entrypoint=/codestyle_check.sh dkormalev/asynqro-builder
- <<: *build
name: Code coverage calculation (Debug, gcc 9, qt5, lcov, codecov.io)
if: type == pull_request OR branch == master OR branch == develop
script:
- docker run --rm -v $(pwd):/asynqro -e "CXX=g++" -e "CC=gcc" --entrypoint=/codecov.sh dkormalev/asynqro-builder
after_success:
- bash <(curl -s https://codecov.io/bash) -f code_coverage.total
- <<: *build
name: Old compiler compatibility check (Release, clang 6, no qt)
install:
- docker pull dkormalev/asynqro-builder-old-compilers:latest
after_success:
script:
- docker run --rm -v $(pwd):/asynqro -e "CXX=clang++" -e "CC=clang" --entrypoint=/build_noqt.sh dkormalev/asynqro-builder-old-compilers Release
- <<: *build
name: Old compiler compatibility check (Release, gcc 7, no qt)
install:
- docker pull dkormalev/asynqro-builder-old-compilers:latest
after_success:
script:
- docker run --rm -v $(pwd):/asynqro -e "CXX=g++" -e "CC=gcc" --entrypoint=/build_noqt.sh dkormalev/asynqro-builder-old-compilers Release