/
.travis.yml
39 lines (38 loc) · 1.84 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
language: c
branches:
only:
- master
- develop
matrix:
include:
- os: linux
sudo: false
compiler: gcc
dist: xenial
before_script:
- git clone https://github.com/Seagate/opensea-common.git
- mv opensea-common ../
- cd Make/gcc
script: make
after_success:
- cd "$TRAVIS_BUILD_DIR"
- "./update-version.sh"
- git config --global user.email "opensea-build@seagate.com"
- git config --global user.name "Travis CI"
- git checkout develop
- git commit -am "[skip travis] version changed"
- git push -q https://${GH_TOKEN}@github.com/Seagate/opensea-transport.git
- 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
- mv opensea-common ../
script:
- export PATH=$MSBUILD_PATH:$PATH
- cd "..\opensea-common\Make\VS.2017\opensea-common"
- MSBuild.exe //p:Configuration=Static-Release //p:Platform=x64
- cd "..\..\..\..\opensea-transport\Make\VS.2017\opensea-transport"
- MSBuild.exe //p:Configuration=Static-Release //p:Platform=x64
env:
secure: hJxF8iyjmkZ6JxVkdwgWbIuFr5FJxKkNHItox5MfMcLB7J+dmxCWP1vIhy6BWmMdEbKe6cHN4B7hTKeY3pAapqxjNNgPWvbJuLG9RBRxgP8y8GOhOyHkN80iINBwPlXuOIUxHoe8Ky1uhWc6c7Q9X4oFIUmLr31kbbfDQs7/elvVXNpQi/F1wu0ONUH3uEfGMQvRrM7EAKrvMazsWfDbifQ/mZ4mBSXDCUHWndmhOWu1neWFWBpcI/n9OFNs5rO+FvRRARCk3hOrp0XlUYUA5VeTxgA/9Ibi9TTKP3xbKK471bhyo994/iM0F/Ocr/GShLmQXc7tfjQSDCNXrTJT4ViJs+vrO0ge1hguOimpfd+BDaRRb+TN1BALDN7ZmPSdigE43ReMkPUfFKW7AUaYAjOv+8Ds8fgUgPGvQ2oGA5Zs2TTJVYPrHXjduHMjBpUtqxQTFPIDfCAnd7T4GWKB734nwWIBuB+ltAmz7gf97w39LqNlBQugtPm0DQUCPu2p5D/cGwvEShbysAkQC30SEGZcSJy+Wov8ByzgdZQPHnXt+S2EbE3vIdkmLwU5Bn0ULdnH2AXfvXKZx7mrUa9Tm6+ImJ2Hkmso8nW3+XNVncp+tH0jr5pSnNUJmTJvw/pyZh6XsqraZXFo1XaIDP+y6UeqDRY2ETKmaR8lBy5sXJw=