forked from jyn514/saltwater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (54 loc) · 2.69 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
language: rust
jobs:
fast_finish: true
include:
- rust: stable
install:
- rustup component add rustfmt
- rustup component add clippy
script:
- tests/pre-commit.sh
# this also tests the header files
- cargo test --all-features
- cargo test --no-default-features
addons:
apt:
packages:
- gcc
- libasound2-dev
# cache ~/.cargo explicitly so that ./target isn't cached
cache:
directories:
- $HOME/.cargo
- rust: beta
script: cargo check
- rust: nightly
branches:
include:
- master
# afl needs nightly
script:
- cargo test
after_success:
- tests/fuzz.sh
allow_failures:
- rust: nightly
before_deploy:
- cargo build --release
deploy:
- provider: releases
on:
tags: true
branch: master
condition: $TRAVIS_RUST_VERSION = stable
file: target/release/saltwater
skip_cleanup: true
api_key:
secure: ioFdF6noWh8DuG5lIGCuMoAcTrum6gsqvDKe+9kjR+tRYnZ6J4cPJ16WUq4qWlp1AnrcB7HRwKuShg8Eu7PPojRKdxNA2fnblJHViNQa8gN3kyr1sfgCo6EEp0qL+eh9qNjx0O4nglMVPUFyg81fyhsX3B6UaQGYK6idxhYvM3e6DvZu5yE8o/FXn1vh9NfDP9RwwuZQTmPYitL2No07GEmeMhCbveXwpFqx9mq1sj51posEAsGFEf3wy+1GwZv0h3jGiYYsyWVLKDKPBRdImA784hnY9L5LqiZOUdpeULzogTNky510rzNI/Uy1vi/IMaTNoCUKo7BVjvtlga9a95Vwz7s7Xav5bUrMqMhwCbBp0WDyEJPkkWx14MzGyIOc2y2bx0PMrxS/tpl0Fzb+QJUai0J1LNBJQbs+B71I/E/Qq7kY5ytMYjboeA3IrqUT3takjEUuuZmMt+AOKN8rl9X81jMqCnVm9VVi+jDJuhhKUVwCfIVzFeVtv7/oQGB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