-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
57 lines (44 loc) · 1.5 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
dist: trusty
language: c
# python: 3.6
notifications:
email:
recipients:
# on_success: never # default is "change"
# on_failure: always # default is "always"
addons:
apt:
packages:
- verilator
script:
# Setup
- set -e ; # Die at first error
- cd test ; # CD to test directory
# -------------------------------------------------------------------
# Add-test BUILD
- echo '$ make build TEST=ADD' && echo -en 'travis_fold:start:build\\r'
- make clean; make build TEST=ADD
- echo -en 'travis_fold:end:build\\r'
# Add-test RUN
- echo '$ make run TEST=ADD' && echo -en 'travis_fold:start:build\\r'
- make run TEST=ADD
- echo -en 'travis_fold:end:build\\r'
# -------------------------------------------------------------------
# Sub-test BUILD
- echo '$ make build TEST=SUB' && echo -en 'travis_fold:start:build\\r'
- make clean; make build TEST=SUB
- echo -en 'travis_fold:end:build\\r'
# Sub-test RUN
- echo '$ make run TEST=SUB' && echo -en 'travis_fold:start:build\\r'
- make run TEST=SUB
- echo -en 'travis_fold:end:build\\r'
# -------------------------------------------------------------------
# Mul-test BUILD
- echo '$ make build TEST=MUL' && echo -en 'travis_fold:start:build\\r'
- make clean; make build TEST=MUL
- echo -en 'travis_fold:end:build\\r'
# Mul-test RUN
- echo '$ make run TEST=SUB' && echo -en 'travis_fold:start:build\\r'
- make run TEST=MUL
- echo -en 'travis_fold:end:build\\r'