forked from embox/embox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (70 loc) · 2.32 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
sudo: required
language: c
cache:
apt: true
directories:
- mk/.cache
env:
global:
# Encrypted COVERITY_SCAN_TOKEN
- secure: KKhG29VpIOr5mq9xHptpDSfFEcSRKB8BX4e5zL0VQNJGkrNAHJ7ba+boHKEmSJJ1fZvHC18XOb886BIsn0i+lFrVymYDR8L8ca3e/k26LktnqMn76ORK1WYkD1fiRg3lX25v/j0TkoLB7pmDnMhZyGzg20675V1sHbl/KCO1LJI=
matrix:
- TEMPLATE=aarch64/qemu
- TEMPLATE=arm/qemu
- TEMPLATE=platform/stm32/f4/stm32f4-discovery
- TEMPLATE=x86/qemu
- TEMPLATE=x86/smp
- TEMPLATE=x86/user_apps
- TEMPLATE=project/qt4/x86_qemu_emboxvc
- TEMPLATE=x86/test/lang
- TEMPLATE=x86/test/fs
- TEMPLATE=x86/test/net
- TEMPLATE=x86/test/units
- TEMPLATE=x86/test/packetdrill
- TEMPLATE=x86/test/qt-vnc
- TEMPLATE=sparc/qemu
- TEMPLATE=mips/qemu
- TEMPLATE=ppc/qemu
- TEMPLATE=microblaze/qemu
- TEMPLATE=usermode86/debug
#matrix:
# include:
# - env: UNCRUSTIFY
# install:
# - SRC=$PWD/uncrustify INSTALL=$PWD/uncrustify/dist ./scripts/codestyle/install_uncrustify.sh
# before_script:
# - export PATH=$PWD/uncrustify/dist/bin:$PATH
# script:
# - uncrustify -v
# - ./scripts/codestyle/travis_uncrustify.sh
before_script:
- set -e # make this script fail as soon as any individual command fail
- sudo modprobe nfsd
- DOCKER_START_WAIT_TIME_SEC=60 ./scripts/docker/docker_start.sh embox/emdocker-test
- |
if [ "${COVERITY_SCAN_BRANCH}" != 1 ]
then
function run() { echo -e '$' "${ANSI_GREEN}$@${ANSI_RESET}"; "$@"; }
else
function run() { echo "Not running '$@': Coverity scan build"; }
fi
script:
- set -e # make this script fail as soon as any individual command fail
- . ./scripts/docker/docker_rc.sh
- run dr ./scripts/continuous/prepare.sh "$TEMPLATE"
- dr make confload-"$TEMPLATE"
- run dr ./scripts/continuous/build.sh
- run dr ./scripts/continuous/run.sh "$TEMPLATE"
addons:
coverity_scan:
project:
name: "embox/embox"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command: make
branch_pattern: coverity
notifications:
slack:
secure: XIP8diNjLokES+oeQJtSQLiGAGxvqlBdoKZqccLsOZWtYToDMoNlILAurNI9wCkb1i9TmNbaNYaGqm4h6jbt/+2gOsi6u1Nu4QpTF+g294hqgE4ztxmqcX7JSOGldLxdG+o+eu6D+yUEwFbrBA0WSEVgB26Sd3JQ0jvnxAk4sJw=
on_success: change
on_failure: always