-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy path.travis.yml
59 lines (58 loc) · 1.69 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
language: cpp
#services: docker
matrix:
include:
- os: linux
dist: bionic
name: "Ubuntu 18.04 - simple_pc_identifier"
addons:
apt:
packages:
- cmake
- libssl-dev
- zlib1g-dev
- libboost-dev
- libboost-test-dev
- libboost-filesystem-dev
- libboost-iostreams-dev
- libboost-program-options-dev
- libboost-system-dev
- libboost-thread-dev
- libboost-date-time-dev
before-script:
- git clone --recursive https://github.com/open-license-manager/open-license-manager.git
- cd open-license-manager/build
- cmake ..
- cmake --build .
- sudo make install
script:
- echo "build simple_pc_identifier"
- cd $TRAVIS_BUILD_DIR/simple_pc_identifier/build
- cmake ..
- cmake --build .
- lccgen license issue -p $TRAVIS_BUILD_DIR/open-license-manager/projects/DEFAULT -o example.lic
- ./example
- os: linux
dist: bionic
name: "Ubuntu 18.04 - submodule"
addons:
apt:
packages:
- cmake
- libssl-dev
- zlib1g-dev
- libboost-dev
- libboost-test-dev
- libboost-filesystem-dev
- libboost-iostreams-dev
- libboost-program-options-dev
- libboost-system-dev
- libboost-thread-dev
- libboost-date-time-dev
script:
- cd submodule/build
- cmake .. -DCMAKE_INSTALL_PREFIX=.
- cmake --build . --target install
- ctest
- bin/lccgen license issue -p ../projects/DEFAULT/ -o example.lic
- ./example