forked from projectceladon/sample-driver-monitoring-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (20 loc) · 1.26 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
sudo: required
services:
- docker
jobs:
include:
- stage: Install
script: sudo apt-get update
- stage: Docker
script:
- docker run --name openvinocont -t -d openvinoincluit/openvino:latest
- docker exec openvinocont git clone https://github.com/incluit/OpenVino-Driver-Behaviour
- docker exec openvinocont bash -c 'source /opt/intel/openvino/bin/setupvars.sh && cd /app/OpenVino-Driver-Behaviour && mkdir build && cd build && source /app/OpenVino-Driver-Behaviour/scripts/setupenv.sh && cmake .. && make'
- docker exec openvinocont bash -c 'cd /app/OpenVino-Driver-Behaviour/build && build-wrapper-linux-x86-64 --out-dir bw-output make clean all'
- docker exec openvinocont bash -c 'cd /app/OpenVino-Driver-Behaviour/build &&sonar-scanner -Dsonar.projectKey=incluit_OpenVino-Driver-Behaviour -Dsonar.organization=incluit -Dsonar.sources=. -Dsonar.cfamily.build-wrapper-output=bw-output -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectBaseDir=../src -Dproject.home=../src -Dsonar.login=58310463a5a3250d402fff5007a5df2e228d46e9'
- docker ps
- docker images
- docker system prune -a -f
- stage: Validation
script:
- echo 'The Pipeline was validated!!!!'