-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
62 lines (61 loc) · 3.14 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
language: rust
rust:
- stable
services: docker
sudo: required
env:
global:
- CRATE_NAME=cat-say
matrix:
include:
- env: TARGET=snap
- env: TARGET=aarch64-unknown-linux-gnu
- env: TARGET=i686-unknown-linux-gnu
- env: TARGET=x86_64-unknown-linux-gnu
- env: TARGET=i686-apple-darwin
os: osx
- env: TARGET=x86_64-apple-darwin
os: osx
before_install:
- set -e
- rustup self update
install:
- sh ci/install.sh
- source ~/.cargo/env || true
script:
- sh ci/script.sh
after_script: set +e
before_deploy:
- sh ci/before_deploy.sh
deploy:
- provider: releases
api_key:
secure: OkrYD4oafM2yYTRtevipngu42yb5CrfMI7/bKYO6XVdMgvywOzVVhSpT4c30H8rEmYlcZOaXS6HCUU4PwEmnLhAq0xYGfBnjQSDZ89lt8UezAIqSRLGuvrr94bMmFpnoH4hzEsu6+bzQqwN4bQncm4I9zXnHHOrcy+h7Z8H/xWR3gWk9K2FOMiblGQ+jXY6jjHtVceks6RP1Ke6K73vPsF/TtcuOFB/VY0O4gwIZuDZuBvwqR34b+IeXv0aVfnqPndk6nNjg+zZUTDHwF4pHMBJVGUEgzSlE9KumSebBi7f8rEPUl9X4y5NChKbeqNF9cFVb3qwTHa8+ghrvUL0Ylm2toOiwwMLV7slE3XxXOzWQ1Bnn7cWLiuBTSjVxCcveRHcWH0P5ZiNamvXXF5+VTrhj0g1CIu09geGPyFCYPaSYa/OGNGMntlBTpFAgW+mLf4HnN/Oaf/g2yDv91SsC4eQk16Mm7dCNNYStQT/CkiJZ21yMJjkgqnmrnvz/jgEVfUGlsugqhX7jZX40rZMQvyYaP+mqLlyZnO7SEocr3FKZZsEcwFDf4d9anPahBNQUOzUVzuHaqnY3v6bZQ7SdDcx7HoA+wnvs/fvaScF4ZiBzgzd35xU50f6gdD3z0FlCu5erEgOp3cdy6+rkN55CxkxERlIOz2zGjW+NkI1oYZM=
file_glob: true
file: "$CRATE_NAME-$TRAVIS_TAG-$TARGET.*"
skip_cleanup: true
on:
tags: true
- provider: snap
snap: cat-say*.snap
channel: stable
skip_cleanup: true
on:
condition: $TARGET = snap
tags: true
# - provider: launchpad
# slug: "~jimver/catsay"
# oauth_token:
# secure: MjnWo2VnWgmQgZM8IGxKY25+QU/xdLfhnoEqLjQubnbMaOI/dFgkX4eh+NPvlHlNHXYQ/6RNdNr86siJZfr/QeUD+NvmH8Usi8SJ5xgqCg4t23KO2tK0XfIPUegzTLUZtdjsj+GUYrk51veectLKSKcBQupEotiBnGY3zkHb6jb6FxpOopSfADl0ScELtXYm1hx2ClTTKTgTX6CAnKTevl31wR1q0CCKP7ShTChYvK2XbuddiuT8Ij9pt47xXDNhfVWjxLi5SqWdF/0vR0PNV0BoEfQvUGjRMdDVJUTePwouvEOkqF88HOJQ7vwDmD3akykDfgah1lTm7wLrwvwvFeb0MaUSnscDmnx97714/kp5UrEnx583TQQcv5slDhRaGIAsZqTyTcgN7VfSlaKSeCTu/sUdrOf0H1oIMdwFj58MIJDP53oKSTyDT+n77ghsvF4QxMQJgBqmd+x9fSZnpi8lx0hzv7M7ukm3TqYuXY6yhCoSbBb2AEboOrxl0oEInJRg0vmxRw2/kE0IBD67nfZrKeY5jR3a4YPe2QxQU54LSfMkj2gQJt2CYdtO2Ns+1SaIIW9YaJtElIz1sfD7CrQp1F/whMJ3V0cEUneB78u4iqBzWHlrzWwwF9xaeYYHcQ+CO1PnWVPopUyHBYjgAiBUlGxLAeLi8I9/jounq4s=
# oauth_token_secret:
# secure: KflTME06zxgnk9eeHU4+ZMBe9dsQckymFNuvJ6iphk4k0hRcE0oqxkwziRJPI7NCNpxVHgYQHZLfm8cIDbsgufjQ0UIXjH4sz3W/PhXVx7p8oTkjfrDyJgO4BNTRVGxuNF/6CWOUoyjlHWqTxwMl8/l1nfvVf1GtUO3FwCZTBLKE6DQTRPdmYEIn3NMZIzZGbvArppBbQM3Q99e1SReIaW+Pq6T8Qnc+hY/n17w099mxnWlZSt4NgH3dcAk0W+x5vl6mVjo38OSesXrcqzGaFScYC9cgR/0s27CjAQP5fXSwWyM5DPYifEzNlvXMSH9EIW/WbXFJwuy16XE/GuXY982rKwPGbMI6XsDcQSdZ/r/v56RSjP2ft9JJVyhGjdmJajy7qz2Pmp8Qb+l+J5myclTBJnDFop3gqxiAjUmYgMTT0u8QgZfKK/WpWLsws1CFIKzG4ak/RVwoPmD6GwkTrVqokeesQqZLuOjOp+sYu5jaZDYOMCt26r+kWw2tr3NKpXhLbHxCEc1unmeklRNvi/FEi/FUtGdRcp0EQzGBxvnpNJxnti1I00G/7nlCaJS2TP+M5qillEDt9HrDG0eKi9hGigdkiLO2yKZIbe9HZDWUdo2h6vsLEhfAInpGcOchJlPQRPDKsZYeQKVsDujNq0apM+ytOzP6nP1JDH7yQK0="
# skip_cleanup: true
# on:
# tags: true
cache: cargo
before_cache:
- chmod -R a+r $HOME/.cargo
notifications:
email:
on_failure: never
on_success: never