forked from image-rs/image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (62 loc) · 1.42 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
sudo: false
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/816755464e93a0defff0
on_success: change
on_failure: always
on_start: never
os:
- linux
rust:
- 1.34.2
- stable
- beta
- nightly
env:
global:
- secure: "WI/r7hbDhenb7zPXht8J0mhcx5aUgY22cCrwYmNksMmgIK9hYfPjZ68XzaQ7+Ity8b12TlHM8lGRN9bIsyAZEiRIkxkZAArY9bXAOExJaAT+yOyxhEs/QdrGB6iRhC6FTxPwgUH82j0nFL1UI7HqBnOy3g3tv23jq1AlD9N3t0k="
matrix:
- DEFAULT_FEATURES='yes'
- FEATURES=''
- FEATURES='gif_codec'
- FEATURES='jpeg'
- FEATURES='png_codec'
- FEATURES='pnm'
- FEATURES='tga'
- FEATURES='tiff'
- FEATURES='webp'
- FEATURES='hdr'
matrix:
allow_failures:
- name: "Clippy"
- rust: nightly
include:
- os: osx
rust: 1.34.2
- os: windows
rust: 1.34.2
- os: osx
rust: stable
- os: windows
rust: stable
- os: osx
rust: nightly
- os: windows
rust: nightly
- os: linux
rust: stable
name: "Clippy"
script:
- rustup component add clippy
- cargo clippy
script:
- if [ -n "${FEATURES+exists}" ]; then
cargo build -v --no-default-features --features "$FEATURES" &&
cargo test -v --no-default-features --features "$FEATURES" &&
cargo doc -v --no-default-features --features "$FEATURES";
fi
- if [ -n "${DEFAULT_FEATURES+exists}" ]; then
cargo test -v;
fi