blob: 81348bca1c16aa27a20102ce6fda682239a3e42e (
plain)
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
|
sudo: false
os:
- linux
dist:
- trusty
language: rust
addons:
apt:
packages:
- libssl-dev
rust:
- 1.32.0
- 1.33.0
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
script:
- cargo build --all --all-features --verbose -j 1
- cargo test --all --all-features --verbose -j 1
after_success: |
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
fi
before_cache: |
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
cargo install cargo-tarpaulin -f
fi
cache:
cargo: true
notifications:
email:
on_success: never
irc:
channels:
- chat.freenode.net#imag
template:
- "%{repository_name} (%{branch} @ %{commit} by %{author}): %{result}"
|