forked from briansmith/crypto-bench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (26 loc) · 763 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
language: rust
sudo: false
matrix:
# Run only on nightly now as neither stable nor beta support benchmark tests.
fast_finish: true
include:
- env: TARGET=x86_64-apple-darwin CC=clang CXX=clang++
os: osx
rust: nightly
- env: TARGET=x86_64-unknown-linux-gnu CC=gcc-5 CXX=g++-5
os: linux
rust: nightly
addons:
apt:
packages:
- g++-5
- gcc-5
sources:
- ubuntu-toolchain-r-test
script:
# We don't run `cargo bench` because Travis CI isn't a reliable platform for
# measuring performance. We run `cargo test` to ensure that changes do not
# break the build.
- $CC --version
- $CXX --version
- ./cargo_all test --release --target=$TARGET --verbose