-
Notifications
You must be signed in to change notification settings - Fork 53
/
.travis.yml
37 lines (29 loc) · 1.46 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
sudo: false
language: cpp
compiler: gcc
dist: trusty
services:
- docker
before_install:
- docker pull anniesoft/toolanalysis:base
install:
- docker run --rm -v `pwd`:/root/buildtest anniesoft/toolanalysis:base /bin/sh -c " cd /root/buildtest ; ln -s /ToolAnalysis/ToolDAQ ./ToolDAQ ; source ./Setup.sh ; make clean; make update; make "
jobs:
include:
- stage: test
script: docker run --rm -v `pwd`:/root/buildtest anniesoft/toolanalysis:base /bin/sh -c " cd /root/buildtest ; source ./Setup.sh ; ./Analyse "
-
script:
- docker run --rm -v `pwd`:/root/buildtest anniesoft/toolanalysis:base /bin/sh -c " cd /root/buildtest ; source ./Setup.sh ; ./Analyse Example1"
- docker run --rm -v `pwd`:/root/buildtest anniesoft/toolanalysis:base /bin/sh -c " cd /root/buildtest ; source ./Setup.sh ; ./Analyse Example3"
- docker run --rm -v `pwd`:/root/buildtest anniesoft/toolanalysis:base /bin/sh -c " cd /root/buildtest ; source ./Setup.sh ; ./Analyse Example5"
-
script:
- docker run --rm -v `pwd`:/root/buildtest anniesoft/toolanalysis:base /bin/sh -c " cd /root/buildtest ; source ./Setup.sh ; ./Analyse Example2"
- docker run --rm -v `pwd`:/root/buildtest anniesoft/toolanalysis:base /bin/sh -c " cd /root/buildtest ; source ./Setup.sh ; ./Analyse Example4"
notifications:
email:
recipients:
on_success: never # default: change
on_failure: always # default: always