-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
67 lines (53 loc) · 1.76 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
sudo: required
env:
global:
- CRATE_NAME=snake
matrix:
include:
# Linux
- env: TARGET=x86_64-unknown-linux-gnu
- env: TARGET=aarch64-unknown-linux-gnu
- env: TARGET=i686-unknown-linux-gnu
# OSX
- env: TARGET=x86_64-apple-darwin
os: osx
# Windows
# - env: TARGET=x86_64-pc-windows-gnu
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: cWcMo/RVMCKV9STiJSzf5aMm1Zskq+HCXC4SJOXjHOibltjwaU6cU7hW+kLjxV8aDB1D2BkPVxZ69hegUy7Qjio7Qla3z2iklS/Y+mNmgi/X/23vLKfttnnGSuNkmHJngM0Yyb2cL60UyUdVgcyq1G1rI8BH0bv9lkBvs2SWSS3p7I6CCjBss7Z6SrRAh4lM4QL9HGK66wvPyVtg5u5/5mYab+k0MuGHt+0c6bSbHsT9hRe5e3irHxoH6zE/dSQyoqXSnlUg3M4i6RCUhZh0gBIQCznYv0r5NYwnkgwyB68rch+Zr3NxDiT37Nr0wcxCrT9bKv212nEwj6Nzjf5JeqWJJxcRRcT0kt9CtrIZXyF1xDUxEg0EeOP4uQZ7NZxn62m9joiVusuDB04gan8KGAVYrK+jUFs2l+KHC4DBQywpa3FwroBKaM5ZmGRfzzKD4TBcZ1WiVtQZPdSVAYq77p7/9uOUSYb94STA9A2drKsDsw+KK60dMmn2eQppHoUAZTym3/vkHOOhQSE9XzH+2L5lzQv4G3/lKOoYd4IBGAjxz9RZmZt2x/czM+GPj0zTbWqO8eXHSlujdcRLgFG9Od0VozURrc6ct9Hrw221Lhd930xSfXnVy8OQLFaOmbE+JGjKy7vZqsFpuYSA4Ox14dqdUNCxqAQXlGkAOrDf7zM=
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