-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
36 lines (36 loc) · 1.03 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
sudo: false
language: rust
rust:
- nightly
- beta
- stable
env:
global:
- secure: EcBvxcEJTxVg89DF7hR/VqwsGanWnngimblVgwyLhy3bk2ApyxKOcmcuzMdXMttGUvzB2ua+8LefnoKrXRwJ8Ms+NeDdp60H7brzwFZM2CbAQiVr8Gkk0o7refonvHOapcECRYFNHoVcRRYVyw+AEqmzGTx8X39mYHH5t9G5YfQ=
addons:
apt:
packages:
- libtool
- autoconf
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
install:
- git clone https://github.com/anrieff/libcpuid.git && cd libcpuid
- libtoolize
- autoreconf --install
- ./configure --prefix=$HOME/.local/bin && make && make install
- cd ..
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
- export LIBRARY_PATH=$HOME/.local/bin/lib:$LIBRARY_PATH
- export LD_LIBRARY_PATH=$HOME/.local/bin/lib:$LD_LIBRARY_PATH
script:
- travis-cargo build
- travis-cargo test
- travis-cargo bench
- travis-cargo doc
after_script:
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
- travis-cargo coveralls --no-sudo --verify