This website requires JavaScript.
Explore
Help
Sign In
mirror
/
protobuf-go
Watch
1
Star
0
Fork
0
You've already forked protobuf-go
mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced
2024-12-29 12:17:48 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
0fc224513b
protobuf-go
/
.travis.yml
7 lines
70 B
YAML
Raw
Normal View
History
Unescape
Escape
.travis.yml: fix travis CI Changes made: * Call autogen.sh before building protobuf. It's unclear how this worked before, but the README instructions for protobuf does state to run autogen.sh prior to building and installing. * Fix downloadArchive to take in a prefix path rather than the number of prefix directories to skip. The reason for this change is due to a bug in the Go build system where unexpected directories were being packed. See https://golang.org/issue/29906 * Explicitly set Travis dist to be "xenial", which comes with Go1.11. We require Go1.11 for two reasons: * The use of t.Helper in integration_test.go * Proper understanding of the -mod=vendor flag (even if all that flag does is disable modules). * Add a hack to integration_test.go to periodically output the timestamp to work around a restriction in Travis where it auto-kills the test after 10 minutes of no stdout activity. Change-Id: I114fe2855faeed091c34d79df3d97068be7eccd8 Reviewed-on: https://go-review.googlesource.com/c/164919 Reviewed-by: Herbie Ong <herbie@google.com>
2019-03-02 21:35:17 +00:00
dist
:
xenial
.travis.yml: add Travis-CI script Add a simple .travis.yml file that shells out testing to the test.bash script. Caching the toolchain directories (Go toolchain and protobuf toolchain) saves around 14min on each run. This script only runs after Gerrit changes have been pushed to GitHub and acts as a form of post-submit tests. Change-Id: Id7d73d2c5fdc0de259d93cceb341ce921f71951d Reviewed-on: https://go-review.googlesource.com/127915 Reviewed-by: Herbie Ong <herbie@google.com>
2018-08-04 04:26:50 +00:00
script
:
-
./test.bash
cache
:
directories
:
test.bash: use repo-local cache Use a local ".cache" directory in the repository root for the cache instead of a directory in /tmp. On many operating systems, files are arbitrarily purged as part of the OS' cleanup procedures, leading to obscure failures. Since the build cache is in the repo root, we adjust the invocation of gofmt to only act upon the set of Go files tracked by git. Change-Id: I10cd0ea0de3370ea25fcd3870451fb41c4204a4b Reviewed-on: https://go-review.googlesource.com/133875 Reviewed-by: Damien Neil <dneil@google.com>
2018-09-06 19:37:19 +00:00
-
.cache
Reference in New Issue
Copy Permalink