2015-11-04 00:33:03 +08:00
|
|
|
sudo: false
|
2014-11-05 01:50:47 +08:00
|
|
|
|
2017-02-08 11:20:04 +08:00
|
|
|
language: rust
|
|
|
|
|
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- llvm-toolchain-precise-3.9
|
|
|
|
- ubuntu-toolchain-r-test
|
2017-03-04 04:15:54 +08:00
|
|
|
packages: # recommanded versions for rust-bindgen
|
2017-02-08 11:20:04 +08:00
|
|
|
- llvm-3.9-dev
|
|
|
|
- libclang-3.9-dev
|
|
|
|
|
2017-03-04 04:15:54 +08:00
|
|
|
env: # specify the clang path for rust-bindgen
|
2017-02-08 11:20:04 +08:00
|
|
|
- LIBCLANG_PATH=/usr/lib/llvm-3.9/lib
|
|
|
|
|
2014-11-05 00:37:40 +08:00
|
|
|
script:
|
2017-02-08 11:20:04 +08:00
|
|
|
- cargo build
|
|
|
|
- cargo build --features bundled
|
|
|
|
- cargo test
|
|
|
|
- cargo test --features backup
|
|
|
|
- cargo test --features blob
|
2017-02-09 10:41:34 +08:00
|
|
|
- cargo test --features functions
|
2017-02-08 11:20:04 +08:00
|
|
|
- cargo test --features limits
|
|
|
|
- cargo test --features load_extension
|
|
|
|
- cargo test --features trace
|
|
|
|
- cargo test --features chrono
|
|
|
|
- cargo test --features serde_json
|
|
|
|
- cargo test --features bundled
|
2017-02-09 10:41:34 +08:00
|
|
|
- cargo test --features "backup blob chrono functions limits load_extension serde_json trace"
|
2017-02-08 11:20:04 +08:00
|
|
|
- cargo test --features "backup blob chrono functions limits load_extension serde_json trace bundled"
|