Commit Graph

30 Commits

Author SHA1 Message Date
lhchavez 26edffd5f5 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.
2020-02-22 18:21:38 -08:00
Carlos Martín Nieto ce19fa064f travis: update versions of Go to be tested 2019-12-10 22:20:20 +00:00
Carlos Martín Nieto 1381380f34 travis: let yaml know these strings are strings 2018-03-26 12:58:53 +02:00
Carlos Martín Nieto bcb303ad17 travis: build against Go 1.10 2018-03-26 12:35:03 +02:00
Carlos Martín Nieto b8ead33448 travis: include go 1.9 2017-09-03 20:05:05 +02:00
Carlos Martín Nieto 7f31dccb8f travis: don't update submodules recursively
We have invalid submodules for testing and Travis gets unhappy.
2017-09-03 19:53:33 +02:00
Carlos Martín Nieto bcf8c1bf40 travis: update the Go versions
We need to use `runtime.KeepAlive()` which only exists past Go 1.7. Furthermore,
Go 1.7 is the latest supported by the language team.
2017-07-04 13:02:12 +02:00
Carlos Martín Nieto e7747d3174 travis: build statically 2017-04-14 12:51:13 +02:00
Carlos Martín Nieto f037074198 Merge remote-tracking branch 'origin/next' 2017-01-20 00:46:34 +00:00
Carlos Martín Nieto b8a9efd21f Build /v\d+/ branches 2016-12-23 19:14:05 +00:00
Carlos Martín Nieto 7f426f2435 Only test against 1.5 and up
Go 1.5 is the first one which supports the variable replacement we're
using for the flags. Any older versions aren't supported by the Go team
now that 1.7 is out, so you should be on one of these versions.
2016-11-01 00:17:51 +01:00
Carlos Martín Nieto 28bc42ce82 travis: only build master and next
The other branches will get built as part of a PR.
2016-10-31 21:34:00 +01:00
Carlos Martín Nieto 5c678353fa Add Go 1.7 to the build list 2016-08-27 20:52:07 +02:00
Itamar Turner-Trauring 3c1ba8c40e Add test for slice-to-slice and GCo pointer detection 2016-08-27 20:47:01 +02:00
Carlos Martín Nieto 2743bbfca3 Test against Go 1.5 2015-08-31 16:07:37 +02:00
Carlos Martín Nieto ff6d4a7dfd We do require sudo on Travis 2015-08-04 15:01:17 +02:00
Carlos Martín Nieto 5f3a9d76b8 travis: don't install libgit2 for 'next' branch
We have our own libgit2 in a submodule, so this is unnecessary. While in
the area, update which version of libgit2 would be downloaded and remove
unnecessary CMake flags.
2015-06-28 13:17:14 +02:00
Carlos Martín Nieto 3115b6c762 travis: allow containerized builds
These builds should be quicker and faster. We don't need sudo, so write
that down for Travis to move us to these builds.
2015-06-28 01:32:59 +02:00
Artiom Di 6454808f69 Test on travis using Go1.4 too 2015-04-03 14:53:15 +03:00
Carlos Martín Nieto 063bed33a9 Add a call to ldconfig in the travis script
This should help it find the library we just installed.
2015-03-15 01:03:06 +01:00
Carlos Martín Nieto 81d5cc0157 Make travis script install to /usr/local
This is the correct place for software not installed by the system's
package manager.
2015-03-15 00:53:02 +01:00
Matthew Donoughe 8bb707b827 return to correct directory for main build 2015-02-13 22:07:54 -05:00
Matthew Donoughe 0d3cc8be8a sudo make install? 2015-02-13 22:00:41 -05:00
Matthew Donoughe 5be2387aeb install libgit2 on travis ci 2015-02-13 21:43:16 -05:00
Carlos Martín Nieto ce7a12da68 travis: build with Go 1.3 2014-07-03 08:48:41 +02:00
Carlos Martín Nieto 4b681f9207 Don't build with Go 1.0
Its cgo linker doesn't support statically linking C libraries.
2014-06-07 19:14:11 +02:00
Carlos Martín Nieto 3da96c3dd7 Adjust travis script to static 2014-06-07 03:27:00 +02:00
Carlos Martín Nieto 3ca566e105 Update travis settings
Build on 1.2 and allow tip to fail. These failures sometimes are our
fault, sometimes go's.
2014-05-31 16:51:51 +02:00
Carlos Martín Nieto b2a2a279d9 Add a settings package
This lets us modify the libgit2-wide options/settings.
2014-03-25 09:27:05 +01:00
Carlos Martín Nieto f5f8e13744 Add a travis script
Add a build script and ask Travis to run it. It downloads the tip of
libgit2's dev branch and tests against that.
2014-02-28 15:15:32 +01:00