aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2019-11-06 19:05:37 -0500
committerJorge Aparicio <jorge@japaric.io>2019-11-06 19:05:37 -0500
commit31b392fe3a6961596a0bd4e1bb24c0da2a9b7b42 (patch)
treee0e2967f7805c2626e9ed794a898861821524936 /ci
parent72e84cb297ef06d9496d18402bc8ea2d88cd1665 (diff)
CI: replace compiletest-rs with trybuild
We use compiletest to run compile-fail tests but compiletest depends on compiler internals so it breaks every now and then and requires nightly. With trybuild we can also run compile-fail tests but it works on stable and it already has reached version 1.0
Diffstat (limited to 'ci')
-rw-r--r--ci/script.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/script.sh b/ci/script.sh
index 9cb03fc..5c898a8 100644
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -37,10 +37,10 @@ main() {
mkdir -p ci/builds
if [ $T = x86_64-unknown-linux-gnu ]; then
- if [ $TRAVIS_RUST_VERSION = nightly ]; then
- # compile-fail tests
- cargo test --test single --target $T
+ # compile-fail tests
+ cargo test --test single --target $T
+ if [ $TRAVIS_RUST_VERSION = nightly ]; then
# multi-core compile-pass tests
pushd heterogeneous
local exs=(