forked from mimblewimble/grin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
88 lines (76 loc) · 2.56 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
88
# Copyright 2019 The Grin Developers
#
# 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.
dist: trusty
sudo: required
language: rust
rust:
- stable
git:
depth: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- cmake
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- gcc
- binutils-dev
cache:
cargo: true
timeout: 240
directories:
- $HOME/.cargo
- $TRAVIS_BUILD_DIR/target
env:
global:
- RUST_BACKTRACE="1"
- RUST_FLAGS="-C debug-assertions"
matrix:
include:
- os: linux
env: CI_JOB="test" CI_JOB_ARGS="servers"
- os: linux
env: CI_JOB="test" CI_JOB_ARGS="chain core"
- os: linux
env: CI_JOB="test" CI_JOB_ARGS="pool p2p src"
- os: linux
env: CI_JOB="test" CI_JOB_ARGS="keychain"
- os: linux
env: CI_JOB="test" CI_JOB_ARGS="api util store"
- os: linux
env: CI_JOB="release" CI_JOB_ARGS=
- os: osx
env: CI_JOB="release" CI_JOB_ARGS=
# - os: windows
# env: CI_JOB="release" CI_JOB_ARGS=
script: .ci/general-jobs
before_cache:
- rm -rf $TRAVIS_BUILD_DIR/target/tmp
before_deploy:
- bash .ci/release-jobs
deploy:
provider: releases
api_key:
secure: PBTFcoUmiQITkDdtFzrBlNR/5OgYHTCw+xVWGYu205xwTlj/ARBgw7DNt8dIdptLx+jOM2V5SbJqSFxs/CJ2ZcOHQZ6ubwpAJlRfuk3xDAi5JmuHYfcY+4SQ9l/0MgHnGfuml093xP7vTIYm2Vwwgdq8fd3jdWmvwgk9zgaGXB4UIXQA0yIs3EzxZpqiLg629Ouv7edMfyffwlG+rgQ1koe6sqeMCxIs0N3p97GCx19kNe0TV4dC7XAN74HreMdHmwxPKAK4xG/jtA1Snm0pMQ50Z0Kizt+0yrGOPMLnWwO9sS38iosBn3Vh1R8HKle2xBGflTtT/LG9lHdQZ5NF572q6681x6t7str4OjJ5bboy1PtNLFxG7RJCVIpp9gbouzdxIaJWRTxIdlk8UNQMrD8ieiNE6V1vZtbHGtJHRSJN1vO/XxsLlQDCyakLhG/nmSKXgiT9wIsu+zj/3oDe+LBt5QetEGYGBrCwUewjaQ7EP1rsT7alQrHTMad5DPjYftJuvfR+yBtz1qbzQwZVJpQC1KY1c476mXPQsaywuUrj56hH92p7P3vl6aMN2OPJZP+zENOVSURHc56KeTsDS55+KKzcRjCMA2L0LR1hP33+V5kavMHgCRrWIkxAkZ4eRqnermalzp8vlzL6EEoGm0VFLzv4mJmzrY1mC1LyCHo=
file_glob: true
file: target/release/grin-*.*
skip_cleanup: true
on:
repo: mimblewimble/grin
tags: true