-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (31 loc) · 1.36 KB
/
.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
language: rust
rust:
- stable
- beta
- nightly
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.7
- gcc-4.8
- gcc-4.9
- gcc-5
env:
matrix:
- COMPILER=gcc-4.7
- COMPILER=gcc-4.8
- COMPILER=gcc-4.9
- COMPILER=gcc-5
global:
- GH_REPO=github.com/jsgf/rust-hdrhistogram.git
- DOCS_OUT=target/doc
- secure: Kaaaoh87dEI2KodXANK8Z3crtCFmzSprShMNkYZIPhqQbJAfBALII/C896EEY4xwW/cg2HXZnMpkHnXVTGCsjwioWf4eE4eRgpPw8iPKfES9GEN9sMAPXwY72vqtO10xrTwZImtkl+Exo5wGjSHxf+0pgTej9dokgQyC186Gmh+W/kO6/5d+RS2HRQoSEYepHPyFS4Y8SGfrgq178sQ05C2E077ueAXr57p6HwoR9ZWxBRegLJc1rNpt6XD0cuDvASoDv7LvE6ioZP1JalZfXW0sR9UfuXvZAaEhEUqAfEb/7q31wVQV0XSZiQS5ZSNN24c1noeWu9zCIJveJPwp3usXO51DzNBmLLzCIWLiuZJA4UeyIcsrXb0kvEVvYh938QjUXS5gmaVQtDSX4ia7U75HPylmLqwEZiobWGc8eDSJh+oJyffsE4dufDVSMnsGhmpds2yGWU9m4PUsm6Cg7fBCYBORBj8hvOrtoTsRppwVINwEn6bNk0OylbZbnv2fj4hO8c1+Qgceq0yvKyPuzUh12f4WhTWCAxox+NZy/L7kiFMhh6Bl/1VkiAGHT83ojWYjF/D1IIRIH4B7ogf+ltagOdpK/UUMNtZn7+C1hairFWjgO6li44g98Rg30dVaFqdWb7uPlFvR0CdTiqxKsdWgqm8OefCMi+PXKvDLzgM=
script:
- "$COMPILER --version"
- env CC=$COMPILER cargo build --verbose
- env CC=$COMPILER cargo test --verbose
after_success:
- echo "COMPILER=$COMPILER TRAVIS_RUST_VERSION=$TRAVIS_RUST_VERSION"
- if [ "$COMPILER" = gcc-5 -a "$TRAVIS_RUST_VERSION" = stable ]; then cargo doc --no-deps --verbose && ./.travis-update-gh-pages.sh; fi