From f6a230a750efc373a9b5360734cc07af59c8f8fb Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 19 Aug 2016 14:52:40 -0700 Subject: [PATCH] Fix travis config --- .travis.yml | 1 + appveyor.yml | 2 ++ gcc-test/Cargo.toml | 3 +++ 3 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index fe30ea8..6b508b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ before_script: script: - cargo build --verbose - cargo test --verbose + - cargo test --verbose --features parallel - cargo test --manifest-path gcc-test/Cargo.toml --target $TARGET - cargo test --manifest-path gcc-test/Cargo.toml --target $TARGET --features parallel - cargo test --manifest-path gcc-test/Cargo.toml --target $TARGET --release diff --git a/appveyor.yml b/appveyor.yml index c16f3a3..39e6845 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,5 +29,7 @@ build: false test_script: - cargo test + - cargo test --features parallel - cargo test --manifest-path gcc-test/Cargo.toml + - cargo test --manifest-path gcc-test/Cargo.toml --features parallel - cargo test --manifest-path gcc-test/Cargo.toml --release diff --git a/gcc-test/Cargo.toml b/gcc-test/Cargo.toml index 0f8bb2a..ba40ec0 100644 --- a/gcc-test/Cargo.toml +++ b/gcc-test/Cargo.toml @@ -11,3 +11,6 @@ test = false [build-dependencies] gcc = { path = ".." } + +[features] +parallel = ["gcc/parallel"]