message: make path for junit test persist
diff: @@ -34,12 +34,15 @@ jobs:
  - restore_cache:
  keys:
  - cargo-v2-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
  + - run:
  + name: create test-results directory
  + command: mkdir -p ~/test-results/${CIRCLE_JOB}
  - run:
  name: Print version information
  command: rustc --version; cargo --version
  - run:
  name: Build and test
  - command: cargo junit --name test_output.xml
  + command: cargo junit --name ~/test-results/${CIRCLE_JOB}/results.xml
  environment:
  # Need this for the coverage run
  RUSTFLAGS: "-C link-dead-code"
  @@ -50,7 +53,7 @@ jobs:
  [ -d $file -o ! -x $file ] && rm -r $file
  done
  - store_test_results:
  - path: test_output.xml
  + path: ~/test-results
  - persist_to_workspace:
  root: "."
  paths:
  @@ -66,14 +69,17 @@ jobs:
  - restore_cache:
  keys:
  - cargo-v2-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
  + - run:
  + name: create test-results directory
  + command: mkdir -p ~/test-results/${CIRCLE_JOB}
  - run:
  name: Print version information
  command: rustc --version; cargo --version
  - run:
  name: Build and test in release profile
  - command: cargo junit --name test_release_output.xml
  + command: cargo junit --name ~/test-results/${CIRCLE_JOB}/results.xml
  - store_test_results:
  - path: test_release_output.xml
  + path: ~/test-results
  test_nightly:
  docker:
  - image: rustlang/rust:nightly
  @@ -85,14 +91,17 @@ jobs:
  - restore_cache:
  keys:
  - cargo-v2-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
  + - run:
  + name: create test-results directory
  + command: mkdir -p ~/test-results/${CIRCLE_JOB}
  - run:
  name: Print version information
  command: rustc --version; cargo --version
  - run:
  name: Build and test with nightly Rust
  - command: cargo junit --name test_nightly_output.xml
  + command: cargo junit --name ~/test-results/${CIRCLE_JOB}/results.xml
  - store_test_results:
  - path: test_nightly_output.xml
  + path: ~/test-results
  coverage:
  docker:
  - image: ragnaroek/kcov:v33
  