-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
58 lines (48 loc) · 1.13 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
language: rust
cache: cargo
dist: trusty
sudo: required
env:
global:
- PROJECT_NAME=netlyser
addons:
apt:
packages:
- fakeroot
matrix:
include:
# Default test+release version
- os: osx
rust: stable
env: TARGET=x86_64-apple-darwin
- os: linux
rust: stable
env: TARGET=x86_64-unknown-linux-gnu
# Minimum version advertised in readme
- os: linux
rust: 1.34.0
env: TARGET=x86_64-unknown-linux-gnu
- os: osx
rust: 1.34.0
env: TARGET=x86_64-apple-darwin
# Non-critical but interesting for upcoming Rust changes
- os: linux
rust: nightly
env: TARGET=x86_64-unknown-linux-gnu
- os: osx
rust: nightly
env: TARGET=x86_64-apple-darwin
allow_failures:
- rust: nightly
fast_finish: true
before_install:
- if [ $TRAVIS_OS_NAME = "linux" ]; then sudo apt-get install -y libdbus-1-dev libdbus-glib-1-dev musl-tools; fi
before_script:
- rustup target add $TARGET
- cargo clean --target $TARGET --verbose
script:
- cargo build --target $TARGET --verbose
notifications:
email:
on_success: never
on_failure: always