-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
95 lines (80 loc) · 4.41 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
89
90
91
92
93
94
dist: trusty
language: rust
services: docker
sudo: required
env:
global:
- CRATE_NAME=rs-collector
- secure: sB49lzVSN1dmVPE4C4SUUdZF8C0pmiirZCoc3LBlmATKNlnmCwoDuV2S9NMTwNUEHL6cFaSeCIwsaHYU6EEWr8E4MjzN4obrel4mywhArBHg/QhTe9hK5D/Kugo6KFEWVcTgzwxoLpKEg0STuzOunP8Eb2FpiiUzJSEy8oOsz7MMDneMuVyGH6PaB6zgH7zB/jSH/f3yXTXpLsQJrgi986o/vpkj2Atl/0x5uV1PNTaxGJgXbHSD6OTRbNhwcyd58Xxh5s9gowWw8Om6EBFJRX71Ej9GUMi7DfXEiNJ2Dz3WP4HBPQ3PWjofmjuppD10f9A0hzzqnYENmzObM3L31QW+zO5Ha5sy1OWpx79PIwdugfPFUCFlgzRFJ8c7LdRah7bDGe3oj2wv2vARMB/8aBJQaes+JpdMSGtQMQYTQwyVIzYQOgpKIm5YbXeflbV3bBVds99j8cnD/idukGBfI4bkorIofUEDwerEW8RIFkAFU/QRXb84oaXJQmFptjQhzqdNbWLugRwIGTeo9d2uulXe4yqJlWyctI/YiSgq2ZyWzxfvhVyuvz1/RMbhFQ5vxhlPLxuSnKtbBn4KkPH3HA5FjD9tgrcwY6BZn7mX901q/2m/3R26a/lksMvqCBZP1+OuzlVLnLERp8g7Cfh3/Z70647ZJyykJQg3jVYq2kk=
matrix:
include:
# Linux
- env: TARGET=x86_64-unknown-linux-gnu DEPLOY_ARCH=amd64
- env: TARGET=x86_64-unknown-linux-musl
# OSX
- env: TARGET=x86_64-apple-darwin
os: osx
# Raspi
- env: TARGET=armv7-unknown-linux-gnueabihf DEPLOY_ARCH=armhf
# Testing future Rust versions
- env: TARGET=x86_64-unknown-linux-gnu
rust: beta
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
allow_failures:
- rust: beta
- rust: nightly
branches:
only:
- master
- travis-ci
- "/^v.*$/"
before_install: set -e
install:
- sh .ci/install.sh
- source ~/.cargo/env || true
script:
- bash .ci/script.sh
after_script: set +e
before_deploy:
- sh .ci/before_deploy.sh
deploy:
- provider: packagecloud
username: lukaspustina
token:
secure: fCA7NaBLHi/jy73rdvw6Jz1fdKtQhp8o9l3pwLHnRdhFyqzgSxBK/hXtShjPhHUSKM1Crjk2CYIhOaA5tVN2lXflQxjaDkSDgW4MeiIIpPr2CR240SmGh/+U5DQ1UKN2+z0oxfohvteIAgMfcvZgl6ex4rPSGarw3L3/9VHMI7iS+ShotxnA9dbw0IZsmBMejYDY1xHYVqCHN60Yd/C1SlDAMJD2z0+bLRn1fR3dc9Gxj2bDzLK7vzAe7ORDnw+AHYB/9oUGMu94UCEQhJa4MFcngHwXEswH6jL6aDkQBzD5ZwcJ7WDNDWHJa67KayEwIorBjiszd2g7Bnf4xpObFdhkOJbSyt3gdyT7k3Ljb79HowAb5ySCI85YMZLb7TayBBF9zSEl2X0S3F/BovlHuXGehFUKxwSwLCtworShm90VJLN2hxpuYoPXBi3h8kyjZX5cBrUahqxI8Gp4eHfJ7Z9MlrErJq0HecrhujNM40w4baTwTch6t3h/PuTf0+6wKzXSY46pWN7SAjQcCWYCTEIFwUdr4RVe/pe7vLetuRJ1cc/ClSv2PxQF4cDHlwVD6SLXLU3jLiGmzHisZU0NBqvqZVCkpbDnF31/PlpMfY0aikXF3oA+XeSmicWR8bLlsAPTlf1NdCu+aJwIpaOVRLPmKEBVygDBjaX5l2tf/V0=
repository: opensource
dist: ubuntu/trusty
package_glob: "**/*.deb"
skip_cleanup: true
on:
tags: true
condition:
- "$TRAVIS_OS_NAME == linux"
- "$DEPLOY_ARCH"
- provider: packagecloud
username: centerdevice
token:
secure: KKpyItzkAKRJLhh5fzmQoLSFPlWHLNZuFYlFp1reN/j6LweSfXpNYEAn4vgS5qad38Szx69yMVPQuMYMJ42zPBo0/n0kBUYZdqLnMAQUVPbGHVu7QqGEhBqNE2UbL7uzVwnacMkb92gD3z4kutnSbY0tIYhVGHI3wRnnTsjimQBwUlAqeyTDEvBJg2d34TbUCtoJ1HqKN0KpeZMx5xSTBqK+z7XYkz5KYxXhUlGQJHd0HD2JQs3muTcAbK1pr30tePjdLnMy4jKdP2C3e2KY35XIJrHGFSp6z+UFTJKlxQ01MwxX95ZoNzmcoadEGSoH7hdNqT9ti61GWjP3txv2Cuco9hZRn5c/koKdbr7RuWcfStXYewDmI6OwfdPcgzCGMfsZ3jG0kG9P/d9kMDEiOIetU+Ywwb7FOJoAxtxsFAIVg+GqGAREdPHqdBlKsPZajN3izTk+wqbA31zu6/H+YMdv1nQhnmIYB4AnCWIAvecVqGmNXYSeWvumc1uioPMXO+WeSCUGl6nRCUxgiOFiQQj19fxlyYEa99JbiSDLqGCYAZNerSatkBryuV10h6yaH+TgPuWho4C7Zee3oOa4Qjt2HOsNbcz6W6B1P2Fm81RE4aPb3GMbsg0cDIesoci4zsu3FhGYHnsA2FbSTP3M5RSKpM2jbrfDt+R1PCE1i2I=
repository: infrastructure
dist: ubuntu/trusty
package_glob: "**/*.deb"
skip_cleanup: true
on:
tags: true
condition:
- "$TRAVIS_OS_NAME == linux"
- "$DEPLOY_ARCH"
- provider: releases
api_key:
secure: DGYtB0LUYX6YROgbbvyEMSZTNjF+HPJOWQE2trnat0vRfLyGfKtNPLcXFUgAUwzJ4fIBCbsXkwY94b50BEMYMhcIQIyXhkN7AzZ0Tv+tnN281QW8Ma+2ZXP3vug23v9S6ZtpuXVVSqFuJjAV92TSHO/BoWAGUlK6O3OgJlZ9i4u/venkz1fnUVTgmLsKaNVqyLKKlvkPe/T/CjH3P73b668U3Y9X4IiWLm9adJAhgGutWf+cRpRxRcnY9bh+GcpYq0MoR9FQIWREFtYty3OQZCnsc2FbPKfNm6dkgPzSe01O5Zenf+EfpC1wizEfrL4378a/BDF9F0jSjtIv+M98DJkIJS3zgJ5wQdKxuzYxcqmRs22kgQL1op4P2punvHu82k8rPq1qM80exWxVPMh5DtD6IE+hgOwNL7Mg4R9OHIYrZBXMcJkWS2y+FAwi83EhxpGcpZ4ANhdxIddyloHjnoP9rOxwqoX7iSkuK9zAtVyBPzBwTzd+UUPVFJmcV1HuU0xyG5nvN0nm6m8WKhNowUKFBRqROCpe8rzZSCaPA2iRoFq5dYObNwBWleOF41ANYf4qJge3I1ZPBzoSkIXMS/X6Ifk037KJExRiG5kTnIUqpZ5WDxEQ10LkJ6WpmtbRqnWu0AA1vOF29cXjiyVbiKWgXDfTSUd9L2x6yfhu+Bg=
file_glob: true
file: "$CRATE_NAME-$TRAVIS_TAG-$TARGET.*"
skip_cleanup: true
on:
tags: true
condition:
- "$TRAVIS_OS_NAME == linux"
- "$DEPLOY_ARCH"
after_deploy:
- cd /home/travis/build/lukaspustina/rs-collector; cargo publish --token ${CRATES_IO_TOKEN}