forked from GuillaumeGomez/sysinfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (52 loc) · 1.26 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
language: rust
matrix:
include:
- os: linux
env: TARGET=armv7-unknown-linux-gnueabihf
rust: stable
dist: trusty
- os: linux
env: TARGET=x86_64-apple-darwin
rust: stable
dist: trusty
- os: linux
env: TARGET=i686-unknown-linux-gnu
rust: stable
dist: trusty
- os: linux
env: TARGET=i686-unknown-linux-musl
rust: stable
dist: trusty
- os: linux
env: TARGET=armv7-unknown-linux-gnueabihf
rust: nightly
dist: trusty
- os: linux
env: TARGET=x86_64-apple-darwin
rust: nightly
dist: trusty
- os: linux
env: TARGET=i686-unknown-linux-gnu
rust: nightly
dist: trusty
- os: linux
env: TARGET=i686-unknown-linux-musl
rust: nightly
dist: trusty
- os: osx
rust: stable
- os: osx
rust: nightly
script:
- rustc --version
- cargo install clippy || touch clippy_failed
- RUST_BACKTRACE=1 cargo build
- if [ ! -f clippy_failed ]; then cargo clippy; fi
- if [ ! -f clippy_failed ]; then cargo bench; fi
- RUST_BACKTRACE=1 cargo test
- cd examples
- RUST_BACKTRACE=1 cargo build
- if [ ! -f ../clippy_failed ]; then cargo clippy; fi
- cd ..
- make
- LD_LIBRARY_PATH=./target/debug ./simple