aboutsummaryrefslogtreecommitdiffstats
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..0a0930e
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,40 @@
+image: ubuntu/jammy
+packages:
+ - go
+ - docker.io
+ - docker-compose
+sources:
+ - https://git.sr.ht/~eugenetriguba/bolt
+secrets:
+ - fa00a8d3-c47d-4820-9770-f819d307fcb0 # codecov-token
+environment:
+ GO111MODULE: on
+tasks:
+ - setup: |
+ cd bolt
+ chmod +x scripts/*.sh
+ go version
+
+ - test-sqlite3: |
+ cd bolt
+ ./scripts/test-sqlite3.sh
+
+ - test-postgresql: |
+ cd bolt
+ ./scripts/test-postgresql.sh
+
+ - test-mysql: |
+ cd bolt
+ ./scripts/test-mysql.sh
+
+ - test-mssql: |
+ cd bolt
+ ./scripts/test-mssql.sh
+
+ - combine-coverage: |
+ cd bolt
+ ./scripts/combine-coverage.sh
+
+ - upload-coverage: |
+ cd bolt
+ ./scripts/upload-coverage.sh