-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
62 lines (47 loc) · 1.57 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
#=========================================================================
# TravisCI Setup
#=========================================================================
#------------------------------------------------------------------------
# language and build matrix
#------------------------------------------------------------------------
dist: xenial
language: python
python:
- "3.7"
env:
- CONFIG="-v --tb=short --cov=./ --cov-report xml"
#------------------------------------------------------------------------
# install dependencies
#------------------------------------------------------------------------
install:
# Install packages
- sudo apt-get install -y graphviz
# Install llvm 10.0.0
- git clone https://github.com/llvm/llvm-project.git
- git checkout llvm10.0.0
- cd llvm-project
- mkdir build
- cd build
- cmake -DLLVM_ENABLE_PROJECTS='polly;clang' -G "Unix Makefiles" ../llvm
- make -j4
- sudo make install
# Install json
- git clone https://github.com/nlohmann/json.git
- mkdir build
- cd build
- cmake ../
- make -j2
- sudo make install
- bash build_all.sh
#------------------------------------------------------------------------
# test runner
#------------------------------------------------------------------------
#script:
#bash build_all.sh
#- py.test ../ $CONFIG
#-------------------------------------------------------------------------
# after success
#-------------------------------------------------------------------------
#after_success:
#- codecov
#- bash <(curl -s https://codecov.io/bash)