-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
48 lines (41 loc) · 921 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
42
43
44
45
46
47
48
language: rust
cache: cargo
sudo: required
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
rust:
- nightly
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
- cargo install cargo-travis || echo "Skipping cargo-travis installation as it is already cached"
- export PATH=$HOME/.cargo/bin:$PATH
script:
- cd $TRAVIS_BUILD_DIR
- travis-cargo build
- travis-cargo test
after_success:
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
cargo bench;
fi
- cargo coveralls --verbose
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
- RUSTFLAGS="-C target-feature=+sse4.2"
- RUST_BACKTRACE=1
dist: trusty
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
sources:
- kalakris-cmake