Add Travis build

This commit is contained in:
David Tolnay 2016-09-07 08:39:43 -07:00
parent f8bec5af7a
commit 75472a6422
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 36 additions and 0 deletions

32
.travis.yml Normal file
View File

@ -0,0 +1,32 @@
sudo: false
language: rust
rust:
- nightly
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
before_script:
- pip install 'travis-cargo<0.2' --user
- export PATH=$HOME/.local/bin:$PATH
script:
- travis-cargo test
- travis-cargo doc
after_success:
- travis-cargo doc-upload
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
- secure: bM4BZxnYwu5ToX0N4wInlu1y0Me+oCqM4coPY19fUlNgnYjX2Ljw1T0j5gOpZxAye5G2bb3BJfKqlSp0lh89Siurmh0jZLIhESX+SBa+I7t2a4B11BPdukuzlbCe6kLG1tLv7UpLgBzoJLXJGYH/TTVwk+6QszWqcwfljRf7YepzttpupdAzkeIQn64ofWN39VoZmN9llKNKa4CqMor3lTcURGr2ax9HU8piRSZ97kX2XwfiWk4y1iStV+m8yAo50d1QHZWPxm+n24+4jYAD0FV3kkac9ho5jMFedVzlLjWPbpvMaJ0cOSgjcxSdxs94cmw2/l4uBR1suY4OPGAl9+P+cD1NEu624ze5NHAKYDDCt3wnTGtX0tadiXse+9e4oLka/aH0Vu6bf8zY1YQh/Ztxr0GaSSwcvgn1dUXipBy9DgAg5oB4G1g/xCzcisauuSld9L0eUKkfgTmTq6qAjgda8djAx8JqbkiDsG6Vx/0bR8G5yDsunt/sUi+vGxg2ZuMssjUCAcwWgzqAPodeypZT+V2tn68M3p1rsVj1WNzB1YspBXxt75nTJJLqLy0NJI5aWmMgs3CsE+ol4MAYl1s70lM+/JBVYvhzNjsXl8IXg7ETYWTwULU8TSptmIQJZ+b7pHO+GGYm2nVYk6o6LuTDmz00d518ad5VWEQ8V90=
notifications:
email: false

View File

@ -1,6 +1,10 @@
Dead Simple Rust Quasi-Quoting
==============================
[![Build Status](https://api.travis-ci.org/dtolnay/quote.svg?branch=master)](https://travis-ci.org/dtolnay/quote)
[![Latest Version](https://img.shields.io/crates/v/quote.svg)](https://crates.io/crates/quote)
[![Rust Documentation](https://img.shields.io/crates/v/quote.svg?label=rustdoc)](https://dtolnay.github.io/quote/quote/)
Quasi-quoting without a Syntex dependency, intended for use with [Macros
1.1](https://github.com/rust-lang/rfcs/blob/master/text/1681-macros-1.1.md).