From 7961f72d8d4fe755d76a57921cf7eb5a862d05c5 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Perennou Date: Tue, 5 Feb 2019 14:58:08 +0100 Subject: [PATCH] v2.0.0 Signed-off-by: Marc-Antoine Perennou --- .travis.yml | 47 ++++++++++++++++++++++++++++------------------- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 30 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index 77888f5..2197b32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,34 @@ -sudo: false language: rust -rust: - - nightly - - beta - - stable - -before_script: - - cargo install cargo-travis - - export PATH=$HOME/.cargo/bin:$PATH - -after_success: - - cargo coveralls --lib +sudo: required addons: apt: packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev - - binutils-dev - - cmake - sources: - - kalakris-cmake + - libssl-dev + +cache: cargo + +matrix: + include: + - rust: 1.31.1 + - rust: stable + - rust: beta + - rust: nightly + - name: osx + rust: nightly + os: osx + - name: minimal-versions + rust: nightly + script: + - cargo -Z minimal-versions test --verbose --all + +script: + - cargo build --verbose --all + - cargo test --verbose --all + +after_success: | + if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then + RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin + cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID + fi diff --git a/Cargo.lock b/Cargo.lock index 2ec564b..c11ab18 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,7 +25,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "brainfuck_rs" -version = "1.1.1" +version = "2.0.0" dependencies = [ "clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)", "nom 4.2.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 3d85fef..b96f2b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "brainfuck_rs" -version = "1.1.1" +version = "2.0.0" edition = "2018" authors = ["Marc-Antoine Perennou "] description = "Brainfuck parser and interpreter using nom"