forked from rust-lang/rust-bindgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (33 loc) · 900 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
language: rust
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
os:
- linux
- osx
rust:
- stable
env:
- CARGO_TARGET_DIR=/tmp/bindgen LLVM_VERSION=3.8 BINDGEN_FEATURES=llvm_stable
- CARGO_TARGET_DIR=/tmp/bindgen LLVM_VERSION=3.9 BINDGEN_FEATURES=
cache:
directories:
- $HOME/.cargo
before_install: . ./ci/before_install.sh
script:
- cargo test --features "$BINDGEN_FEATURES assert_no_dangling_items"
- cargo test --release --features "$BINDGEN_FEATURES assert_no_dangling_items"
- git add -A
- git diff @
- git diff-index --quiet HEAD
- cargo build --features "$BINDGEN_FEATURES docs_"
- cd tests/expectations
- cargo test
- cd ../../bindgen-integration
- cargo test --features "$BINDGEN_FEATURES"
- cargo test --release --features "$BINDGEN_FEATURES"
notifications:
webhooks: http://build.servo.org:54856/travis