-
Notifications
You must be signed in to change notification settings - Fork 91
/
.travis.yml
23 lines (20 loc) · 1.22 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-For-SmartCity
- docker exec openvinocont bash -c 'source /opt/intel/openvino/bin/setupvars.sh && cd /app/OpenVino-For-SmartCity && mkdir build && cd build && source /app/OpenVino-For-SmartCity/scripts/setupenv.sh && cmake .. && make'
- docker exec openvinocont bash -c 'cd /app/OpenVino-For-SmartCity/build && build-wrapper-linux-x86-64 --out-dir bw-output make clean all'
- docker exec openvinocont bash -c 'cd /app/OpenVino-For-SmartCity/build && sonar-scanner -Dsonar.projectKey=incluit_OpenVino-For-SmartCity -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=b4374702344cc6949ebbbafcad6b4ea1d002ba1d'
- docker ps
- docker images
- docker system prune -a -f
- stage: Validation
script:
- echo 'The Pipeline was validated!!!!'