[go: up one dir, main page]

macrotest 1.0.5

Test harness for macro expansion
Documentation
language: rust
os:
  - linux
  - osx
  - windows

rust:
  - stable

install:
  - if [ "$TRAVIS_OS_NAME" = "windows" ]; then rustup target add x86_64-pc-windows-msvc; fi

before_script:
  - rustup toolchain install nightly
  - rustup component add rustfmt
  - if [ "$TRAVIS_OS_NAME" = "windows" ]; then export TARGET=--target=x86_64-pc-windows-msvc; fi
  - cargo install $TARGET cargo-expand

script:
  - if [ "$TRAVIS_OS_NAME" = "windows" ]; then export TARGET=--target=x86_64-pc-windows-msvc; fi
  - cargo build $TARGET --verbose --all
  - cargo test
  - cd test-project
  - cargo test -- --nocapture
  - cd ../test-procmacro-project
  - cargo test -- --nocapture