Skip to content

Commit

Permalink
Flatten tests into main crate
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 7, 2019
1 parent 99b86c7 commit e482e84
Show file tree
Hide file tree
Showing 21 changed files with 6 additions and 22 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@ matrix:
name: Stable compiletest
- rust: nightly
name: Unstable compiletest
env: FEATURES="unstable" TEST_FEATURES="unstable"
env: FEATURES="unstable"
- rust: nightly
name: Minimal versions
before_script:
- cargo update -Z minimal-versions

script:
- cargo build --features "${FEATURES:-}"
- cargo clean
- cargo test --features "${FEATURES:-}"
- cargo clean
- cargo test --features "${TEST_FEATURES:-}" --manifest-path tests/Cargo.toml
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ unstable = ["indoc-impl/unstable"]
indoc-impl = { version = "=0.3.3", path = "impl" }
proc-macro-hack = "0.5.3"

[dev-dependencies]
select-rustc = "0.1"
trybuild = "1.0"

[workspace]
members = ["impl", "tests", "unindent"]
members = ["impl", "unindent"]

[badges]
travis-ci = { repository = "dtolnay/indoc" }
17 changes: 0 additions & 17 deletions tests/Cargo.toml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e482e84

Please sign in to comment.