-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (54 loc) · 1.79 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
# Based on the "trust" template v0.1.2
# https://github.com/japaric/trust/tree/v0.1.2
dist: trusty
language: rust
services: docker
env:
global:
- CRATE_NAME=shell_grunt2
matrix:
include:
# Linux
- env: TARGET=armv7-unknown-linux-gnueabihf
rust: nightly
- env: TARGET=i686-unknown-linux-musl
rust: nightly
- env: TARGET=x86_64-unknown-linux-musl
rust: nightly
# OSX
- env: TARGET=x86_64-apple-darwin
os: osx
rust: nightly
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: "paz85/+qypGdSm44XiH8RZEJMaLPDu0oP8sfEOyT3nadCkQPNMMqWKgsbheJLbuKc8lHIAIEiMKpQ8aknSZA888NgFRjpK38YOk+6ytwm/FWuXPOInbhQrK37cXrAGLaTgAMWDpIuD2qSx7wdGBeOlO7TDSbS47BJRPr74R5PhFiAHC31ix/QW79+nf7rSyQW1VxwG39UnGoFXDwFaKXb1ZSFomXlbE+8t5DtyhOB7Shkw5qWrP6QcSUHd4XaldENzPGYoRdO6rJ475pMfFHitlBLnA3B0e1FnpmMptapjc0BgcxfS5bTgpMROh0QhkM0aQYKfNZffPOrcNNIR07I2JssIbNsikT09ySvl9dy2pCUAQWg+z484uV7ZAezB0/6h7evVwy6iSSaaFGeHcm/xBNRrm9likyDvTzkNJvHYTTnHvX0yAc3zIowC2J0PNAYkDOoTGr1vC2MbYaNl/CnahzxEbC0zMI3MQ/YvbdMrNpUYFxSNH+lJ4vSFnyPDBrG63OWfHcSfRJbyEh4pLsrL6Lft8Nem79iQ27UUJ1DEaZGYQjiclzV575s+b6eLF7dgXNQSJtVRokQNStu8fLQx6WJHj1OJN8nA4TBXYsEFZ5iN2/rDfMuOpiLekST5COAyjZukW/0Lzkaxg+zFZGs05243GcbNoI/fAmkg96RJk="
file_glob: true
file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
on:
condition: $TRAVIS_RUST_VERSION = nightly
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