summaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 6ced047f..e0a9de61 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,3 +1,5 @@
+%YAML 1.1
+---
# Configuration for CirrusCI. This is primarily used for
# FreeBSD and macOS M1 tests and builds.
@@ -35,7 +37,8 @@ env:
CARGO_HUSKY_DONT_INSTALL_HOOKS: true
test_task:
- only_if: $CIRRUS_CRON == "" && ($CIRRUS_BRANCH == "master" || $CIRRUS_PR != "")
+ auto_cancellation: false
+ only_if: $CIRRUS_BUILD_SOURCE != "api" && ($CIRRUS_BRANCH == "master" || $CIRRUS_PR != "")
matrix:
- name: "FreeBSD 13 Test"
freebsd_instance:
@@ -60,7 +63,8 @@ test_task:
<<: *CLEANUP_TEMPLATE
build_task:
- only_if: $CIRRUS_RELEASE != "" || $CIRRUS_CRON == "nightly" || $CIRRUS_API_CREATED == true || $CIRRUS_BRANCH == "master"
+ auto_cancellation: false
+ only_if: $CIRRUS_BUILD_SOURCE == "api"
env:
BTM_GENERATE: true
COMPLETION_DIR: "target/tmp/bottom/completion/"