Skip to content

Commit fea0ae5

Browse files
committed
ci: add a job to test release builds
1 parent 00478a5 commit fea0ae5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ matrix:
2626
# Linux builds #
2727
##################
2828

29+
- env: TASK=check-release-linux
30+
rust: stable
31+
if: branch = auto OR branch = try
32+
2933
- env: TASK=test-linux
3034
rust: stable
3135
if: type = pull_request OR branch = auto OR branch = try

ci/run/check-release-linux.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
IFS=$'\n\t'
4+
5+
cargo check --release
6+
cargo check --release --tests

0 commit comments

Comments
 (0)