This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
82 lines (67 loc) · 2.27 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
# 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=cce
matrix:
include:
# Linux
- env: TARGET=aarch64-unknown-linux-gnu
- env: TARGET=arm-unknown-linux-gnueabi
- env: TARGET=armv7-unknown-linux-gnueabihf
#- env: TARGET=i686-unknown-linux-gnu
#- env: TARGET=i686-unknown-linux-musl
- env: TARGET=x86_64-unknown-linux-gnu
- env: TARGET=x86_64-unknown-linux-musl
# OSX
#- env: TARGET=i686-apple-darwin
# os: osx
- env: TARGET=x86_64-apple-darwin
os: osx
# *BSD
#- env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
#- env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
#- env: TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1
# 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
- 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: "JNW05Ra9OEx3YD81ZcsVnJRSh1a/umKWyK0ifo/+ZHYuQAr1vfg3a4K7UoLbRtYdQoNBOWCVgIiIw9z+F/G1UgC4Juo82OCW/AV0V5lG995mwEfyxaXrVGm/pp8NyB7J2vbSNSpjAf96ufe6VrVGKEu790f6hA/hSpayjrWUNRKh/3A2VZlmDV0u6veyazI4QNoaaQYEAtXIhRwyQUKx2yBUm6ltDXdrMIpXBn34Cu2/HbnlqqMjLgFJZRs8DNd1wks/A5uvkyiRoNqXcrHztfRttB+YJUyN/F17p5yXQpA2Y322ePSRHP26ifyk6junA3RvjZ57oPRqmEaD0zTLX/Mospao7aheo1XmSBabzywMR9C6yTD6/0RBRSdEJLC5uHarO7qcp+wRs/pchB0UTobLlq3S8R1UT3F7/zXiTpg4QsGP9x0PwgA+6MSdlXjmnnMj1fjPdEcAnCa27k/QzhrNl4G7L0TNF7T1YrFHmPEvosNd87IzGceLLTbJ6Z36kLLECF1BovurZwkDuwilY/av8jyHOLjcJoiNEPRINQe5ASKrZZJzNo9qlh5fUJkBlFaN92QIwExe2pPi2Fi68kglRvj84IYdwZ414fBRkTaSQ3IwyxnNH8dnMb3HC2cTNvwQQr75Fs8JQkiA0Vr/xvc9F1OQe6n+JbTnHpPpT/w="
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