-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
99 lines (92 loc) · 1.84 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
language: cpp
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test # For newer GCC
- george-edison55-precise-backports # For cmake
- llvm-toolchain-trusty-7
packages:
- autoconf
- automake
- bash
- bison
- build-essential
- cmake
- ctags
- curl
- doxygen
- flex
- fontconfig
- gcc-6
- g++-6
- gcc-4.9
- gdb
- git
- gperf
- libcairo2-dev
- libevent-dev
- libfontconfig1-dev
- liblist-moreutils-perl
- libncurses5-dev
# - libtbb-dev
- libx11-dev
- libxft-dev
- libxml++2.6-dev
- perl
- python
- texinfo
- time
- valgrind
- zip
- qt5-default
- clang-format-7
cache:
ccache: true
directories:
- /home/travis/vtr-build
- /home/travis/vtr
stages:
- Build
- Test
jobs:
include:
- stage: Build
name: "Building VtR"
script:
- ./.github/travis/build.sh
- stage: Test
name: "Code Formatting"
script:
- ./dev/check-format.sh
- stage: Test
name: "C++ Unit Tests"
script:
- ./.github/travis/unittest.sh
- stage: Test
name: "Basic Regression Tests"
script:
- ./run_reg_test.pl vtr_reg_basic -j2
- stage: Test
name: "Strong Regression Tests"
script:
- ./run_reg_test.pl vtr_reg_strong -j2
- stage: Test
name: "Basic Valgrind Memory Tests"
script:
- ./run_reg_test.pl vtr_reg_valgrind_small -j2
- stage: Test
name: "ODIN-II Micro Tests"
script:
- ./run_reg_test.pl odin_reg_micro -j2
- stage: Test
name: "ODIN-II Operators Tests"
script:
- ./run_reg_test.pl odin_reg_operators -j2
before_script:
- source .github/travis/common.sh
- ./.github/travis/setup.sh
after_script:
- ./.github/travis/setup.sh
script:
- true