Skip to content

Commit f19fef7

Browse files
committed
add travis-cargo integration
1 parent ae5444a commit f19fef7

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

.travis.yml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
1-
sudo: required
1+
sudo: false
22
language: rust
3+
addons:
4+
apt:
5+
packages:
6+
- mpd
7+
- libcurl4-openssl-dev
8+
- libelf-dev
9+
- libdw-dev
10+
- binutils-dev
311
rust:
4-
- stable
12+
- stable
513
before_script:
6-
- sudo add-apt-repository -y ppa:jean-francois-dockes/mpd
7-
- sudo apt-get update -qq
8-
- sudo apt-get install -y mpd
9-
- sudo /etc/init.d/mpd start
10-
- /usr/bin/mpd --version
14+
- "/usr/bin/mpd --version"
15+
- "/usr/bin/mpd --verbose /etc/mpd.conf"
16+
- |
17+
pip install 'travis-cargo<0.2' --user &&
18+
export PATH=$HOME/.local/bin:$PATH
19+
script:
20+
- |
21+
travis-cargo build &&
22+
travis-cargo test &&
23+
travis-cargo --only stable doc
24+
after_success:
25+
- travis-cargo --only stable doc-upload
26+
- travis-cargo coveralls --no-sudo --verify
27+
env:
28+
global:
29+
secure: "kXeKyGCOJGlB3dMVtWMW4CL1LsuSHjJsoVrZ4lgPLaH9MUriVoxCfMslQSmprX1+8EjZ1CpovbuX+uXgyiImcdNVbpgZQoC6rOfSilEtSzoO2pspHuQd7uHkQkUQfP9StnTQUKhDsZLjHyWVSN7/bF5sN9lX1qbOjW1KwqGaRlo="

0 commit comments

Comments
 (0)