forked from amqp-rs/lapin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (26 loc) · 869 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
language: rust
cache: cargo
rust:
- nightly
- beta
- stable
services: rabbitmq
before_install:
- export ROOT_PATH=`pwd`
- wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.2g-1ubuntu4.6_amd64.deb
- wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.2g-1ubuntu4.6_amd64.deb
- sudo dpkg -i libssl1.0.0_1.0.2g-1ubuntu4.6_amd64.deb
- sudo dpkg -i libssl-dev_1.0.2g-1ubuntu4.6_amd64.deb
before_script:
- cargo install cargo-travis --force
- export PATH=$HOME/.cargo/bin:$PATH;
- sed -e '/lapin-async/s/=.*$/= {path="..\/async"}/' -i $ROOT_PATH/futures/Cargo.toml
script:
- cd $ROOT_PATH/async && cargo build
- cd $ROOT_PATH/async && cargo test
- cd $ROOT_PATH/futures && cargo build
- cd $ROOT_PATH/futures && cargo test
after_success:
- cargo coveralls
dist: trusty
#sudo: false