Add travis

This commit is contained in:
Julian Ospald 2017-07-12 23:51:32 +02:00
parent 007e71c7f8
commit 96c9cb466b
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 33 additions and 0 deletions

32
.travis.yml Normal file
View File

@ -0,0 +1,32 @@
dist: trusty
sudo: false
language: rust
rust:
- nightly
- beta
- stable
addons:
apt:
packages:
- libasound2-dev
- libgdk-pixbuf2.0-dev
- libglib2.0-dev
- libgtk-3-dev
- libnotify-dev
- libx11-dev
- pkg-config
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script:
- |
travis-cargo build
# travis-cargo test &&
# travis-cargo --only stable doc
# after_success:
# - travis-cargo --only stable doc-upload
# env:
# global:
# - TRAVIS_CARGO_NIGHTLY_FEATURE=""
# - secure:

View File

@ -1,3 +1,4 @@
[![Build Status](https://travis-ci.org/hasufell/pnmixer-rust.svg)](https://travis-ci.org/hasufell/pnmixer-rust)
[![Join the chat at https://gitter.im/hasufell/pnmixer-rust](https://badges.gitter.im/hasufell/pnmixer-rust.svg)](https://gitter.im/hasufell/pnmixer-rust?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![License](https://img.shields.io/github/license/hasufell/pnmixer-rust.svg)](https://github.com/hasufell/pnmixer-rust)