summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorlhchavez <[email protected]>2020-02-22 23:07:08 +0000
committerlhchavez <[email protected]>2020-02-22 18:21:38 -0800
commit26edffd5f57618d2927926fde4c4ac1fcba5d84a (patch)
tree94f5e540a09001b7733e3fcfa64da48f00e2e068 /.travis.yml
parent419bac9075cd0967b09f4e0f9884a1d87298c2e3 (diff)
Update CI configuration
This change: * Updates the GitHub actions so that they run different commands for the dynamic and static flavors of libgit2. * Updates the .travis.yml file so that it does roughly the same as the GitHub actions. * Adds the release-* branches to the CI configurations.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml16
1 files changed, 10 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 7d53122..b25a052 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,25 +1,29 @@
language: go
go:
+ - "1.9"
+ - "1.10"
- "1.11"
- "1.12"
- "1.13"
- tip
-script: make test-static
+install:
+ - make build-libgit2-static
+ - go get --tags "static" ./...
+
+script:
+ - make test-static
matrix:
allow_failures:
- go: tip
git:
- submodules: false
-
-before_install:
- - git submodule update --init
+ submodules: true
branches:
only:
- master
- /v\d+/
- - next
+ - /release-.*/