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