Skip to content

Commit 92e0289

Browse files
committed
Enable llvm-backend feature in CI
1 parent f5bbd38 commit 92e0289

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ before_script:
2727
- bash lint.sh
2828

2929
script:
30-
- cargo test --features file-tests
30+
- cargo test --features file-tests llvm-backend

lint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ if rustc --version | grep "nightly"
77
then
88
echo "On nightly."
99
echo "Running cargo clippy..."
10-
cargo rustc --features "clippy cargo-clippy" -- -Z no-trans -Z extra-plugins=clippy
10+
cargo rustc --features "clippy cargo-clippy llvm-backend" -- -Z no-trans -Z extra-plugins=clippy
1111
CARGO_EXIT_CODE=$?
1212
else
1313
echo "Not on nightly."
1414
echo "Running only cargo check..."
15-
cargo check
15+
cargo check --features "llvm-backend"
1616
CARGO_EXIT_CODE=$?
1717
fi
1818

0 commit comments

Comments
 (0)