-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy path.travis.yml
53 lines (46 loc) · 1 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
language: rust
# See https://levans.fr/rust_travis_cache.html
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
matrix:
fast_finish: true
allow_failures:
- rust: nightly
include:
- name: "stable fmt"
rust: stable
install: true
before_script:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check
- name: "stable clippy|build|test"
rust: stable
addons:
apt:
packages:
- &build_deps [cmake, g++, git, libc-dev, libgoogle-glog-dev, libsdl2-dev]
- name: "beta clippy|build|test"
rust: beta
addons:
apt:
packages:
- *build_deps
- name: "nightly clippy|build|test"
rust: nightly
addons:
apt:
packages:
- *build_deps
install:
- bash ci/install.sh
before_script:
- bash ci/before_script.sh
script:
- bash ci/script.sh
notifications:
email:
on_success: never