rusqlite/.travis.yml

45 lines
1.3 KiB
YAML
Raw Normal View History

sudo: false
2017-10-24 16:54:48 +08:00
dist: trusty
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:
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-10-24 16:54:48 +08:00
- libsqlcipher-dev
2017-02-08 11:20:04 +08:00
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
2017-10-24 16:54:48 +08:00
- cargo build --features sqlcipher
2017-02-08 11:20:04 +08:00
- cargo test
- cargo test --features backup
- cargo test --features blob
- cargo test --features functions
- cargo test --features hooks
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-10-24 16:54:48 +08:00
- cargo test --features sqlcipher
- cargo test --features "backup blob chrono functions hooks limits load_extension serde_json trace"
- cargo test --features "backup blob chrono functions hooks limits load_extension serde_json trace buildtime_bindgen"
- cargo test --features "backup blob chrono functions hooks limits load_extension serde_json trace bundled"
- cargo test --features "backup blob chrono functions hooks limits load_extension serde_json trace bundled buildtime_bindgen"