forked from openweave/openweave-nrf52840-lock-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
87 lines (75 loc) · 3.68 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
#
# Copyright 2018-2019 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# Description:
# This file is the Travis CI hosted, distributed continuous
# integration configuration file for the OpenWeave nRF52840 Lock
# Example Application.
#
language: generic
sudo: required
git:
submodules: false
before_install:
- .travis/prepare.sh
script:
- .travis/build.sh
after_success:
- .travis/setup_build_artifacts.sh
language: c++
cache:
directories:
cache
matrix:
include:
- name: "Linux"
os: linux
- name: "OS X"
os: osx
#
# deploy description:
# Travis CI supports uploading to Google Cloud Storage (GCS).
# openweave gcs bucket location: happy-test-log/<build_number> under link: https://storage.cloud.google.com/openweave"
# tags: true: deployment is triggered if and only if $TRAVIS_TAG is set here.
# Travis-CI help link: https://docs.travis-ci.com/user/deployment/gcs/
#
deploy:
- provider: gcs
access_key_id: GOOGNPZYTVTEPZM5VBRAVVUU
secret_access_key:
secure: c5PssbzFtJg/lMgjWKUWHISkGLcw7K9Fxs+LMchg6+Nl7vn8ZUVdIZaPNrf0fbVxhLulkxaeVuRB+RhX97fRx0W9lAr46UrBSDYZGAEVkFRRWqWGVFKI/imBwxJ+x3rkRXuzh0RpvBjIn+Y/0vJ7NeCEiLRGSfFGxT6b5b18+CJa2XQ0HU9/0Eoivj6g9wlBiN4v76dxHqaMh/nt72wz2OOBpoGOApJ3UTRaDFWpfWYRklDpaFFW8a8AoF4MgyEZ9sDsxr8Egss62m+rGE0906Aul9rm0xSeU19atL0Z3N48uH15CbE4ZrJqwL+WGLMJOE6GsNp5eu7Mode9fhXqHerNTXLUFto7us0OaXb0CumZyLYUIcLlPb7kxLEiZ7MwsHRFvy3+UamDNCTZ2NqaERFEPgtMSN3A+0FE3zPdGyNDW5NTmAujrItXzYRmgtAqzhBEBVCDB3AZcFzJVYji7oJjPjroeaK2CrfF5BvpswdIwGaWR2ox400jgl2sISqnp/iPZD10wELPZz2g3VXlfJMg6yJd80QLeieICwiqCLrJVxjT1bFJUYBBb80b7K+Gu+f1qZwbXJAF8q384e/MuVNRb4mVbM80N2mgn+n4RfZnOLWXbegtc8RBOT2/rttM89PqGMJc5R2clKnrSu7JS82cth7c3/xAElj6/yNZo80=
bucket: openweave
skip_cleanup: true
acl: public-read
upload-dir: openweave-nrf52840-lock-example/Branch_Builds/$TRAVIS_BUILD_NUMBER
local-dir: "$TRAVIS_BUILD_DIR/build_artifacts"
on:
repo: openweave/openweave-nrf52840-lock-example
all_branches: true
condition: $TRAVIS_BRANCH_NAME != master && $TRAVIS_OS_NAME = linux
- provider: gcs
access_key_id: GOOGNPZYTVTEPZM5VBRAVVUU
secret_access_key:
secure: c5PssbzFtJg/lMgjWKUWHISkGLcw7K9Fxs+LMchg6+Nl7vn8ZUVdIZaPNrf0fbVxhLulkxaeVuRB+RhX97fRx0W9lAr46UrBSDYZGAEVkFRRWqWGVFKI/imBwxJ+x3rkRXuzh0RpvBjIn+Y/0vJ7NeCEiLRGSfFGxT6b5b18+CJa2XQ0HU9/0Eoivj6g9wlBiN4v76dxHqaMh/nt72wz2OOBpoGOApJ3UTRaDFWpfWYRklDpaFFW8a8AoF4MgyEZ9sDsxr8Egss62m+rGE0906Aul9rm0xSeU19atL0Z3N48uH15CbE4ZrJqwL+WGLMJOE6GsNp5eu7Mode9fhXqHerNTXLUFto7us0OaXb0CumZyLYUIcLlPb7kxLEiZ7MwsHRFvy3+UamDNCTZ2NqaERFEPgtMSN3A+0FE3zPdGyNDW5NTmAujrItXzYRmgtAqzhBEBVCDB3AZcFzJVYji7oJjPjroeaK2CrfF5BvpswdIwGaWR2ox400jgl2sISqnp/iPZD10wELPZz2g3VXlfJMg6yJd80QLeieICwiqCLrJVxjT1bFJUYBBb80b7K+Gu+f1qZwbXJAF8q384e/MuVNRb4mVbM80N2mgn+n4RfZnOLWXbegtc8RBOT2/rttM89PqGMJc5R2clKnrSu7JS82cth7c3/xAElj6/yNZo80=
bucket: openweave
skip_cleanup: true
acl: public-read
upload-dir: openweave-nrf52840-lock-example/master/$TRAVIS_BUILD_NUMBER
local-dir: "$TRAVIS_BUILD_DIR/build_artifacts"
on:
repo: openweave/openweave-nrf52840-lock-example
branch: master
condition: $TRAVIS_OS_NAME = linux