forked from rust-db/barrel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (41 loc) · 984 Bytes
/
.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
# Some basic stuff about what we're doing here
dist: trusty
language: rust
services: docker
sudo: required
cache: cargo
rust:
# - stable # Only build on nightly rust for now
- nightly
# This is required for coveralls
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
sources:
- kalakris-cmake
# If nightly explodes we don't care aaas much
matrix:
allow_failures:
- rust: nightly
# This is a pretty big hack and only really needed on the first of a build chain
before_script:
- (cargo install cargo-travis | true) && export PATH=$HOME/.cargo/bin:$PATH
# Build, test, benchmark, document. Gogogogo!
script:
- cargo build --verbose --all
- cargo test --verbose --all
- cargo bench --all
- cargo doc
# Upload the whole mess
after_success:
- cargo coveralls --verbose
# AND GOD DAMN IT LET ME SLEEP!
notifications:
email:
on_success: never
on_failure: never