-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
92 lines (80 loc) · 1.75 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
dist: xenial
sudo: required
language: c
compiler:
- gcc
branches:
only:
- master
- dev
before_install:
- pwd
- git clone -b $TRAVIS_BRANCH --recurse-submodules -j8 https://github.com/gonapps-org/libgenc
- cd libgenc
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
- cd ../../
- pwd
- git clone -b $TRAVIS_BRANCH --recurse-submodules -j8 https://github.com/gonapps-org/libgaio
- cd libgaio
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
- cd ../../
- pwd
- git clone -b $TRAVIS_BRANCH --recurse-submodules -j8 https://github.com/gonapps-org/libfastdl
- cd libfastdl
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
- cd ../../
- pwd
- git clone -b $TRAVIS_BRANCH https://github.com/vinbero/vinbero-ifaces
- cd vinbero-ifaces
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
- cd ../../
- pwd
- git clone -b $TRAVIS_BRANCH --recurse-submodules -j8 https://github.com/vinbero/libvinbero_com
- cd libvinbero_com
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
- cd ../../
install:
- sudo apt-get install -y libcmocka-dev libjansson-dev
- pwd
- cd libgenc/build
- make
- sudo make install
- cd ../../
- pwd
- cd libgaio/build
- make
- sudo make install
- cd ../../
- pwd
- cd libfastdl/build
- make
- sudo make install
- cd ../../
- pwd
- cd vinbero-ifaces/build
- make
- sudo make install
- cd ../../
- pwd
- cd libvinbero_com/build
- make
- sudo make install
- cd ../../
before_script:
- cmake -version
- make --version
- gcc --version
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
script: make && ctest --verbose