language: rust
rust:
- stable
- beta
- nightly
os:
- linux
- osx
script:
- cargo build -v --features all
- cargo test -v --features all
- cargo doc -v --no-deps --features all
after_success:
- |
test ${TRAVIS_PULL_REQUEST} == "false" && \
test "${TRAVIS_BUILD_NUMBER}.1" == "${TRAVIS_JOB_NUMBER}" && \
test -n ${TRAVIS_TAG} && \
bash deploy-docs.sh