forked from intel/intel-cmt-cat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
19 lines (19 loc) · 778 Bytes
/
.travis.yml
File metadata and controls
19 lines (19 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
sudo: required
dist: bionic
before_script:
- sudo apt-get -q update
- sudo apt-get install -y swig cppcheck wget python3-virtualenv clang-format
- wget -P /tmp/ https://raw.githubusercontent.com/torvalds/linux/879be4f378cb412af3a3fe107d35835c99099add/scripts/checkpatch.pl && chmod a+x /tmp/checkpatch.pl
- wget -P /tmp/ https://raw.githubusercontent.com/torvalds/linux/879be4f378cb412af3a3fe107d35835c99099add/scripts/spelling.txt
script:
- make cppcheck
- make style CHECKPATCH=/tmp/checkpatch.pl
- make
- sudo make install
- LD_LIBRARY_PATH=`pwd`/lib make -C lib/python test
- LD_LIBRARY_PATH=`pwd`/lib make -C appqos test
- cd lib/perl && perl Makefile.PL && make && sudo make install
language: c
compiler:
- gcc
# - clang