forked from stepancheg/rust-protobuf
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
35 lines (29 loc) · 895 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
sudo: false
language: rust
matrix:
include:
- rust: stable
env: PROTOBUF_VERSION=3.1.0
- rust: beta
env: PROTOBUF_VERSION=3.1.0
- rust: nightly
env: PROTOBUF_VERSION=3.1.0
- rust: stable
env: PROTOBUF_VERSION=2.6.1
- rust: stable
env: PROTOBUF_VERSION=3.1.0 RUST_PROTOBUF_FEATURES=with-bytes
- rust: nightly
env: PROTOBUF_VERSION=3.1.0 RUST_PROTOBUF_FEATURES=with-bytes
before_install:
- ./install-protobuf.sh
- PATH=/home/travis/bin:$PATH protoc --version
script:
- rustc --version
# Full rebuild with regenerate
- PATH=/home/travis/bin:$PATH protobuf/full-rebuild.sh
- PATH=/home/travis/bin:$PATH ./protoc/test.sh
- test "$TRAVIS_RUST_VERSION" != "nightly" || PATH=/home/travis/bin:$PATH cargo build --all --features=with-bytes --bins --tests --examples --benches
notifications:
email:
on_success: never
# vim: set ts=2 sw=2 et: