Setup Shippable

This commit is contained in:
Mathijs van de Nes 2015-04-29 08:11:02 +02:00
parent 971b6afe9f
commit 34970060ce
5 changed files with 33 additions and 5 deletions

View file

@ -15,7 +15,4 @@ script:
- cargo build
- cargo test
- cargo doc --no-deps
- rustdoc --test README.md -L target
after_success:
- curl https://mvdnes.github.io/rust-docs/travis-doc-upload.sh | sh
- rustdoc --test README.md -L target/debug

Binary file not shown.

View file

@ -2,6 +2,7 @@ zip-rs
======
[![Build Status](https://travis-ci.org/mvdnes/zip-rs.svg?branch=master)](https://travis-ci.org/mvdnes/zip-rs)
[![Build Status](https://api.shippable.com/projects/553fdfb4edd7f2c052d66b59/badge?branchName=master)](https://app.shippable.com/projects/553fdfb4edd7f2c052d66b59/builds/latest)
[![Crates.io version](https://img.shields.io/crates/v/zip.svg)](https://crates.io/crates/zip)
[Documentation](http://mvdnes.github.io/rust-docs/zip-rs/zip/index.html)

View file

@ -1,4 +1,3 @@
PROJECT_NAME=zip-rs
DOCS_REPO=mvdnes/rust-docs.git
SSH_KEY_TRAVIS_ID=70a3dd61d838
DOC_RUST_VERSION=beta

31
shippable.yml Normal file
View file

@ -0,0 +1,31 @@
language: python
python:
- 2.7
env:
- RUST_VERSION=beta
- RUST_VERSION=nightly
notifications:
email:
recipients:
- ci@mathijs.vd-nes.nl
on_success: never
on_failure: always
install:
- curl -o ~/rustup.sh https://static.rust-lang.org/rustup.sh
- sudo sh ~/rustup.sh --spec=$RUST_VERSION 2> /dev/null
before_script:
- rustc --version
- cargo --version
script:
- cargo build
- cargo test
- cargo doc --no-deps
- rustdoc --test README.md -L target/debug
after_success:
- curl https://mvdnes.github.io/rust-docs/shippable-doc-upload.sh | sh