-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
67 lines (57 loc) · 2.76 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
os:
- linux
- osx
osx_image: xcode10.3
dist: bionic
sudo: false
addons:
apt:
packages:
- lcov
- build-essential
- git
- libc6-i386
- time
- mingw-w64
- wine64
git:
depth: 5
language: cpp
compiler: gcc
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lcov ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew upgrade cmake; fi
before_script:
- gcc --version
- echo $TRAVIS_OS_NAME
script: "./.travis.sh"
after_success:
- lcov --capture --directory . --output-file coverage.info
- lcov --remove coverage.info '/usr/*' --output-file coverage.info
- lcov --remove coverage.info "$TRAVIS_BUILD_DIR/test/*" --output-file coverage.info
- lcov --remove coverage.info "$TRAVIS_BUILD_DIR/external/betaflight/*" --output-file coverage.info
- lcov --list coverage.info
- bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"
deploy:
- provider: releases
draft: true
skip_cleanup: true
api_key:
secure: rqQ69NLq39ojie9ZsO59oAh59a9HYvgw0SVD3Zx6M+lb+Lsg1J5xooYrrAlO0kNc+tCTlEbOyXzgEozU8OYzOVzH91ZOPpgoiL2S3y73Q4KWil/O0LRyTSZZW090FoAPCD1D/6nMh6MHPsGxXOSA2DgGzAyONNrVvGxZoGeJ5KYHaZwh9XTDCQA3aUukSlgwkJcWB/odkJLXA43S+FrvjLJejJTn9gj60cbVQd5bAKaR4lBbN0q+LhEkONlViyU1vAhcm8mX6d1JyCngdmG0L9LxNJTt4L4SBfOAgOEF/9U1glny5Xu14B0ubJpluH7ySV1CaYGB3+PJKwulVCxhY94CTmMGMAERmZXKdp8M4ky2l8TjcORi8YgztYlWa5Co7x94Jvge5meqfJWagEjrMN37qnI5VO1yjc6NBuuFfzWnHUGyWP6+csJJ8JgG2acLsZv1k+O//zp4FtIxXtV42lBXOFvKdGL3ZqqcrO2mrpUiiLGbCcIr4QrmNgMkSO0ImbevH3YpXk55PCL5wkxzTHcJam3eC11ou/cxisw0MvcU/1qkcQcd1FU/a4YBFgmfMleUhmoxKgN9hHKyS+ds0bhY8l5N0CFgSeN6P7s06882FjwjJCX/6oLhlFLugsePecamchfxhT85OhRYqa7D7o6ZqiQnRHZko+/X7lN0kKM=
file:
- "build_rel/kwadSimSITL.x11"
- "build_win/kwadSimSITL.exe"
on:
condition: $TRAVIS_OS_NAME = linux
tags: true
- provider: releases
draft: true
skip_cleanup: true
api_key:
secure: rqQ69NLq39ojie9ZsO59oAh59a9HYvgw0SVD3Zx6M+lb+Lsg1J5xooYrrAlO0kNc+tCTlEbOyXzgEozU8OYzOVzH91ZOPpgoiL2S3y73Q4KWil/O0LRyTSZZW090FoAPCD1D/6nMh6MHPsGxXOSA2DgGzAyONNrVvGxZoGeJ5KYHaZwh9XTDCQA3aUukSlgwkJcWB/odkJLXA43S+FrvjLJejJTn9gj60cbVQd5bAKaR4lBbN0q+LhEkONlViyU1vAhcm8mX6d1JyCngdmG0L9LxNJTt4L4SBfOAgOEF/9U1glny5Xu14B0ubJpluH7ySV1CaYGB3+PJKwulVCxhY94CTmMGMAERmZXKdp8M4ky2l8TjcORi8YgztYlWa5Co7x94Jvge5meqfJWagEjrMN37qnI5VO1yjc6NBuuFfzWnHUGyWP6+csJJ8JgG2acLsZv1k+O//zp4FtIxXtV42lBXOFvKdGL3ZqqcrO2mrpUiiLGbCcIr4QrmNgMkSO0ImbevH3YpXk55PCL5wkxzTHcJam3eC11ou/cxisw0MvcU/1qkcQcd1FU/a4YBFgmfMleUhmoxKgN9hHKyS+ds0bhY8l5N0CFgSeN6P7s06882FjwjJCX/6oLhlFLugsePecamchfxhT85OhRYqa7D7o6ZqiQnRHZko+/X7lN0kKM=
file:
- "build/kwadSimSITL.osx"
on:
condition: $TRAVIS_OS_NAME = osx
tags: true