-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
46 lines (43 loc) · 1.24 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
# CI for opensea-parser
language: cpp
branches:
only:
- master
- develop
matrix:
include:
- os: osx
osx_image: xcode9
compiler: clang
before_script:
- git clone https://github.com/Seagate/opensea-common.git
- git clone https://github.com/Seagate/libjson.git
- mv libjson ../
- mv opensea-common ../
- cd Make/gcc
script:
make
- os: linux
sudo: false
compiler: gcc
dist: xenial
before_script:
- git clone https://github.com/Seagate/opensea-common.git
- git clone https://github.com/Seagate/libjson.git
- mv libjson ../
- mv opensea-common ../
- cd Make/gcc
script:
make
- os: windows
env:
- MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
before_script:
- git clone https://github.com/Seagate/opensea-common.git
- git clone https://github.com/Seagate/libjson.git
- mv libjson ../
- mv opensea-common ../
- cd "Make\VS.2017\opensea-parser\opensea-parser"
script:
- export PATH=$MSBUILD_PATH:$PATH
- MSBuild.exe //p:Configuration=Static-Release //p:Platform=x64