-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
107 lines (89 loc) · 2.73 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
95
96
97
98
99
100
101
102
103
104
105
106
107
# Based on the "trust" template v0.1.2
# https://github.com/japaric/trust/tree/v0.1.2
dist: trusty
language: rust
services: docker
sudo: required
env:
global:
- CRATE_NAME=rff
matrix:
include:
# ARM
- env: TARGET=aarch64-unknown-linux-gnu
- env: TARGET=arm-unknown-linux-gnueabi
- env: TARGET=armv7-unknown-linux-gnueabihf
# 686
- env: TARGET=i686-unknown-linux-gnu
- env: TARGET=i686-unknown-linux-musl
# PowerPC
- env: TARGET=powerpc-unknown-linux-gnu
- env: TARGET=powerpc64-unknown-linux-gnu
- env: TARGET=powerpc64le-unknown-linux-gnu
# Good ol' x86_64
- env: TARGET=x86_64-unknown-linux-gnu
- env: TARGET=x86_64-unknown-linux-musl
# macOS
- env: TARGET=i686-apple-darwin
os: osx
- env: TARGET=x86_64-apple-darwin
os: osx
# Nightly
- os: linux
rust: nightly
env: TARGET=i686-unknown-linux-musl
- os: linux
rust: nightly
env: TARGET=x86_64-unknown-linux-musl
- os: linux
rust: nightly
env: TARGET=x86_64-unknown-linux-gnu
- os: osx
rust: nightly
env: TARGET=x86_64-apple-darwin
# Beta
- os: linux
rust: beta
env: TARGET=i686-unknown-linux-musl
- os: linux
rust: beta
env: TARGET=x86_64-unknown-linux-musl
- os: linux
rust: beta
env: TARGET=x86_64-unknown-linux-gnu
- os: osx
rust: beta
env: TARGET=x86_64-apple-darwin
before_install:
- set -e
- rustup self update
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:
api_key:
secure: "uGQ8uifYOSOZqJtV4ydQ9tH+NMVWnCzRvX2Ngicc6jl/QzpGQfLyeaZP2QWssBQXsGmw5iPusvEPOVKmnkGffxfltsGd1zPaDFA83FcPAfC5zBDC5fjaCI8oQL9UqGxI3SGXnFKIQAjMW7HRDfhl/9jlk3KnTKYHjHwExJCzA6WwmMtrELbDiavGcfMkGkC69Jz3SDCbh/yILp/vpu6HJ/ol+7EckQXS44DBPoGyNZ2nGcDn1dXw98rHXOO7Y/G3codKK7+IO+4QzF9cOFIDiDvzyJIqMwGZo4tnQGUQs5WepJK8fQQTuJ1MCcL3SD0d7d/KykOaZoopC8f3oW1KQ+lEqZP6cQxGXStCgrqRRllf7eHahN70TBIbcQSDTwj40TidRE8ozQPNZBbOZAywsOUmrGk1ss3N8CKjP+5UELb09EyvGrlJIolS1K47MTnP4v6fOqPgJyw7DYh7HdI6fN7e2kHN8pDfIB1jAFb5YVRVsS6hdApnIEX/naxp2WLpFWohw01tp7uOJWXmJbsHE1lydvqyUKiWmCO5pDLDWLrZ8Q0kQMaJsW+oF4XnNXgOrPBNPXc7UxHbHdF9NuSdp6EswS5VcbcXbAG3NbH2zR472L+0BV5f4kQ9W6k33I5hvHT2IPKDwtakVbrCcRpUc0naUnd+if9mc/7nJE2jMwE="
file_glob: true
file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
on:
condition: $TRAVIS_RUST_VERSION = stable
tags: true
provider: releases
skip_cleanup: true
cache: cargo
before_cache:
# Travis can't cache files that are not readable by "others"
- chmod -R a+r $HOME/.cargo
branches:
only:
# release tags
- /^v\d+\.\d+\.\d+.*$/
- master
notifications:
email:
on_success: never