Fix .travis.yml again

This commit is contained in:
mcarton 2016-04-15 01:41:06 +02:00
parent 578cc3dc71
commit 72b747915c

View File

@ -13,16 +13,15 @@ script:
- rm -rf target/ Cargo.lock
- cargo test --features debugging
- # only test regex_macros if it compiles
- |
after_success:
# only test regex_macros if it compiles
- |
#!/bin/bash
cargo test --no-run --features 'debugging test-regex_macros'
if [ "$?" = 101 ]; then
cargo test --features 'debugging test-regex_macros'
if [ "$?" != 101 ]; then
cargo test --features 'debugging test-regex_macros' compile_test
fi
# trigger rebuild of the clippy-service, to keep it up to date with clippy itself
after_success:
- |
#!/bin/bash
set -e