forked from amethyst/amethyst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (44 loc) · 1.15 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
# Set up the Rust toolchain.
language: rust
rust:
- stable
- beta
- nightly
# Allow for occasional compiler breakage on nightly Rust.
matrix:
allow_failures:
- rust: nightly
# Build the Bors staging and trying branches, plus PRs to develop, master, and
# the latest release branch.
branches:
only:
- staging
- trying
- develop
- master
- /release-.*/
# Test on Linux - OSX builds take in excess of 5 hours to start as of 2017-09-19.
os:
- linux
# Install ALSA development libraries before compiling on Linux.
addons:
apt:
packages:
- libasound2-dev
# Since this build doesn't require sudo, we can turn it off and improve build
# performance.
sudo: false
# Force third-party crates to persist from previous builds and update only when
# needed.
cache: cargo
# Allow binaries installed from Cargo.
before_script:
- export PATH=$PATH:/home/travis/.cargo/bin
# Generate documentation, compile the engine, run tests.
script: |
cargo test --all -v
# Push notifications to `amethyst/general` and `amethyst/engine` Gitter chats.
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/9735c01977c1df3de5cb