forked from dflemstr/rq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
161 lines (142 loc) · 4.49 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# Based on the "trust" template v0.1.1
# https://github.com/japaric/trust/tree/v0.1.1
dist: trusty
language: rust
services: docker
sudo: required
env:
global:
- CRATE_NAME=record-query
matrix:
include:
# Linux
- env: TARGET=i686-unknown-linux-gnu DISABLE_TESTS=1
rust: stable
- env: TARGET=i686-unknown-linux-musl
rust: stable
- env: TARGET=x86_64-unknown-linux-gnu GEN_JSDOC=1
rust: stable
- env: TARGET=x86_64-unknown-linux-musl
rust: stable
# OSX
- env: TARGET=i686-apple-darwin DISABLE_TESTS=1
rust: stable
os: osx
osx_image: xcode8
- env: TARGET=x86_64-apple-darwin
rust: stable
os: osx
osx_image: xcode8
# *BSD
- env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
rust: stable
- env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
rust: stable
- env: TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1
rust: stable
# Other architectures
- env: TARGET=aarch64-unknown-linux-gnu
rust: stable
- env: TARGET=armv7-unknown-linux-gnueabihf
rust: stable
- env: TARGET=mips-unknown-linux-gnu
rust: stable
- env: TARGET=mips64-unknown-linux-gnuabi64
rust: stable
- env: TARGET=mips64el-unknown-linux-gnuabi64
rust: stable
- env: TARGET=mipsel-unknown-linux-gnu
rust: stable
- env: TARGET=powerpc-unknown-linux-gnu
rust: stable
- env: TARGET=powerpc64-unknown-linux-gnu
rust: stable
- env: TARGET=powerpc64le-unknown-linux-gnu
rust: stable
- env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
rust: stable
# Testing other channels
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
- env: TARGET=x86_64-apple-darwin
os: osx
rust: nightly
allow_failures:
# Linux
- env: TARGET=i686-unknown-linux-musl
rust: stable
- env: TARGET=x86_64-unknown-linux-musl
rust: stable
# *BSD
- env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
rust: stable
- env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
rust: stable
- env: TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1
rust: stable
# Other architectures
- env: TARGET=aarch64-unknown-linux-gnu
rust: stable
- env: TARGET=armv7-unknown-linux-gnueabihf
rust: stable
- env: TARGET=mips-unknown-linux-gnu
rust: stable
- env: TARGET=mips64-unknown-linux-gnuabi64
rust: stable
- env: TARGET=mips64el-unknown-linux-gnuabi64
rust: stable
- env: TARGET=mipsel-unknown-linux-gnu
rust: stable
- env: TARGET=powerpc-unknown-linux-gnu
rust: stable
- env: TARGET=powerpc64-unknown-linux-gnu
rust: stable
- env: TARGET=powerpc64le-unknown-linux-gnu
rust: stable
- env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
rust: stable
# Testing other channels
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
- env: TARGET=x86_64-apple-darwin
os: osx
rust: nightly
before_install: set -e
install:
- ./ci/install.sh
script:
- ./ci/script.sh
after_script: set +e
before_deploy:
- ./ci/before_deploy.sh
deploy:
- api_key: "${GITHUB_TOKEN}"
file_glob: true
file: target/deploy/$CRATE_NAME-$TRAVIS_TAG-$TARGET.*
on:
condition: $TRAVIS_RUST_VERSION = stable
repo: dflemstr/rq
tags: true
provider: releases
skip_cleanup: true
- provider: s3
access_key_id: AKIAIMXXFE4ETRSISAEA
secret_access_key:
secure: "BwXmKjyKJVzmBp9GyJ0raBrJP1cHZ8LYyUxIlHzhb7Zfxlot/R5HwnNKqYlu6QJb0VBL+vcFjzujHljvlPSu/fLFlg4MNc36l3IeowOchvZpv+2+72IgJCJgxC+d7s0Al/TILB4htYVwoIAAvO99HerKKX91M2TeCyEoYIK1PmYjw6c0gZo5CifUe9EISFqIzuUGysZsZFCsHF0purhIAIWBBJjgu35XLluvu+kZ1bJ22Fqvsz2x1MUyyNHV4pNw6gYwC4CSBwACuu2aQDY7i+ZXU6ubSyK5P495rElWqMpMtMVg0oxH+UAsdw4La2DwxkF8dc/4w4eYaix7ucXrV1n24M34nzm4GwZ3/n4ZANaRAtl6zxhTPk5UadEX5PAOAxPsTPDJYQPSU/ZkbdUsYm6YhJtw/HDQOAkwhrZs2PibVyM6JB34/AsJrryl+yZ+By7M2AOnDcLWAvYroqFVW316yIe1x4EJW9loknqNCseDGEHCqtAjX5tFB3n7h8w+p2VpoaR23AM1BoOUEuWzfQZtCULKSZFwFDlj3pnJAdC2zqojtr87zNcqUX+XMy7YpoLEVGetG8zpAYmKXE8r7jNrSMOagBph90ThN+D9Zjkku5p9xH2Xw2kRhZdY56JrhJApotWJ8j3Gr6dt8rRAssa8E388Xz+EMAC34fo2tr8="
bucket: record-query
region: eu-west-1
skip_cleanup: true
local_dir: target/deploy
upload-dir: record-query
cache_control: "max-age=3600"
on:
condition: $TRAVIS_RUST_VERSION = stable
repo: dflemstr/rq
branches:
only:
# release tags
- /^v\d+\.\d+\.\d+.*$/
- master
notifications:
email:
on_success: never