1sudo: false
2
3language: rust
4
5rust:
6  - stable
7  - beta
8  - nightly
9
10matrix:
11  fast_finish: true
12  allow_failures:
13    - rust: nightly
14
15addons:
16  apt:
17    packages: # recommanded versions for rust-bindgen
18      - llvm-3.9-dev
19      - libclang-3.9-dev
20      - libsqlcipher-dev
21
22env: # specify the clang path for rust-bindgen
23  - LIBCLANG_PATH=/usr/lib/llvm-3.9/lib
24
25script:
26  - cargo build
27  - cargo build --features bundled
28  - cargo build --features sqlcipher
29  - cargo build --features "bundled sqlcipher"
30  - cargo test
31  - cargo test --features "backup blob extra_check"
32  - cargo test --features "collation functions"
33  - cargo test --features "hooks limits"
34  - cargo test --features load_extension
35  - cargo test --features trace
36  - cargo test --features chrono
37  - cargo test --features serde_json
38  - cargo test --features url
39  - cargo test --features bundled
40  - cargo test --features sqlcipher
41  - cargo test --features i128_blob
42  - cargo test --features uuid
43  - cargo test --features "bundled unlock_notify window"
44  - cargo test --features "array bundled csvtab series vtab"
45  - cargo test --features "backup blob chrono collation csvtab functions hooks limits load_extension serde_json trace url uuid vtab"
46  - cargo test --features "backup blob chrono collation csvtab functions hooks limits load_extension serde_json trace url uuid vtab buildtime_bindgen"
47  - cargo test --features "backup blob chrono collation csvtab functions hooks limits load_extension serde_json trace url uuid vtab bundled"
48  - cargo test --features "backup blob chrono collation csvtab functions hooks limits load_extension session serde_json trace url uuid vtab bundled buildtime_bindgen"
49