mastodon API rust lib elefren, fixed and updated. and also all ASYNC! NB. most examples are now wrong.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
elefren-fork/.travis.yml

43 lines
904 B

sudo: required
8 years ago
language: rust
dist: trusty
addons:
apt:
packages:
6 years ago
- libssl-dev
cache:
directories:
- $HOME/.cargo
env:
- ELEFREN_FEATURES="--features toml"
- ELEFREN_FEATURES="--features json"
- ELEFREN_FEATURES="--features all"
- ELEFREN_FEATURES=""
os:
- linux
- osx
rust:
- stable
- beta
- nightly
script:
- cargo test $ELEFREN_FEATURES
8 years ago
matrix:
include:
- name: "Coverage"
rust: nightly
before_cache: RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install -f cargo-tarpaulin
script: cargo build --features all
after_success: cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID --features all
- name: "rustfmt"
rust: nightly
before_script: rustup component add rustfmt-preview
6 years ago
script: cargo fmt --all -- --check
8 years ago
allow_failures:
- rust: nightly
notifications:
email:
on_success: never