66 Commits

Author SHA1 Message Date
4b0710563d internal: revert change to make travis always build proto (#3580) 2020-04-29 09:40:14 -07:00
80ff2c9d78 internal: code regen move file to correct location (#3574) 2020-04-28 18:27:18 -07:00
27096e8260 doc: update README for supported Go versions and travis for tests (#3516) 2020-04-10 16:01:05 -07:00
d670c2dcc8 advancedtls: fix internal tests (#3322)
fix an internal error in advanced_tls.test. Previous check is to check against the prefix of the ServerName, which might be different in various environments. We'd better not rely on checking that.
2020-01-15 14:03:38 -08:00
895b36ddf2 travis: run interop tests with examples (#3229) 2019-12-04 15:55:45 -08:00
6c48774ffb travis: move example tests to a separate run (#3143)
The example tests were causing travis timeout.
2019-11-05 10:34:44 -08:00
8988da6e70 examples: add examples regression test script (#3118) 2019-10-31 13:11:53 -07:00
b53233ce4c examples: add regression test script to hello world example (#3092) 2019-10-21 13:00:46 -07:00
1950dc9db9 travis: add go1.13 and remove go1.10 and go1.9 without GAE (#3050) 2019-09-27 09:48:01 -07:00
e2cfd1c28f internal: update proto library version (#3025)
Also, two fixes:

- Fix long-standing `.travis.yml` bug where `VET_SKIP_PROTO` was not `export`ed (so not seen by `vet.sh`).
- Update `vet.sh` to work with new `goimports -l` that does not print a `:` after filenames.
2019-09-17 13:49:26 -07:00
73e5679828 travis: run most test environments on Go 1.12 instead of 1.11 (#2847) 2019-06-04 11:19:23 -07:00
2369d0a0a1 travis: add Go 1.12.x to CI (#2671) 2019-03-07 13:31:25 -08:00
6d855749cf travis: add Go 1.12beta2 to CI (#2598) 2019-01-25 13:07:43 -08:00
5a500ee73f travis: remove Go 1.6 and 1.8 tests (#2415) 2018-11-01 08:50:05 -07:00
dc3d58fc3e retry go get when it fails (#2345) 2018-10-11 13:07:48 -07:00
ba4eb68a02 Travis/Makefile/vet cleanups (#2283)
- .travis.yml:
  - Download dependencies at install time
  - Run race and non-race in separate instances
  - Use braces around env var names
- vet.sh:
  - Run `go mod tidy` to keep it tidy
  - Stop filtering transport errors from go/vet output
  - Use braces around env var names
- Makefile:
  - Reorder alphabetically
  - Add "vetdeps" as a dependency of "vet"
  - Add "testappengine" to "all"
2018-09-04 15:10:01 -07:00
ce4f3c8a89 Initial go.mod module definition and corresponding Travis/vet.sh changes (#2281) 2018-08-31 12:58:30 -07:00
59dd9b3f19 test: add go 1.11 to travis and remove go 1.7 (#2278) 2018-08-27 13:31:20 -07:00
804c2a9051 remove 1.6 support for channelz (#2242)
ChannelZ is a debugging feature in grpc. It has not had appengine support; this commit
removes its support for 1.6, too. This change is because in a recent sys/unix commit
1.6 support was broken.
2018-07-26 14:24:04 -07:00
fe131d6f02 disable go1.6 travis tests (#2237)
This can be reverted when https://github.com/golang/go/issues/26576 is resolved.
2018-07-25 13:14:15 -07:00
7f14997525 travis: skip race testing on 386 as it is not supported (#2207) 2018-07-09 11:27:27 -07:00
f3361fda2f internal: changes to travis to make it do less work (#2200)
This PR removes race testing from all travis runs except go1.10 except during nightlies.

|                 | Before* | After** | % Change |
| --------------- | ------- | ------- | -------- |
| Total runtime   | 65m     | 45m     | -31%     |
| Wall-clock time | 21m     | 11.5m   | -45%     |

*: (one random sample I found in our PRs)
**: (latest run on this PR)

Also includes some organization changes (making proper use of `before_install` and `install`) / cleanups in `.travis.yml` to make it easier to understand.  As a result, we now stop unintentionally running `vet` on a second build by accident (go1.10 with retry enabled).
2018-07-06 11:09:40 -07:00
40a879c23a client: Implement gRFC A6: configurable client-side retry support (#2111) 2018-06-27 16:18:41 -07:00
cd69bb2707 testing: run test in simulated appengine environment (#2145) 2018-06-21 13:09:46 -07:00
9c2d308aed travis: skip vet install for 386 (#2018) 2018-04-24 13:20:09 -07:00
ec9275ba9a travis: add Go 1.10 and run vet there instead of 1.9 (#1913) 2018-03-16 08:47:14 -07:00
ebefec97dd travis: fix GOARCH=386 and add misspell check (#1658)
- Define env variable RUN386 and set GOARCH later, instead of assigning to GOARCH directly. Otherwise, gimme will override GOARCH back
- Add misspell check
- Disable -race on 386
2017-11-08 13:40:05 -08:00
b5eab4ccac Make travis 32-bit actually work (#1621) 2017-10-25 15:59:19 -07:00
5c3d956e18 Re-add support for Go1.6 (#1603) 2017-10-20 12:05:20 -07:00
c8405557a4 Remove Go1.6 support (#1492) 2017-10-04 13:57:10 -07:00
47d8591b12 Run Go1.9 and 386 on Travis (#1475) 2017-08-29 16:29:31 -07:00
d6870035ab Check "x/net/context" with go vet like "context" (#1490)
* Check "x/net/context" with `go vet` like "context"

Includes a signficant revamp of .travis.yml to execute a separate script for
all of the things we check before allowing a merge.

* fix bug in benchmain
2017-08-29 15:40:57 -07:00
25b4a426b4 go-generate pb.go files and check in Travis to make sure they don't change (#1426) 2017-08-17 16:00:51 -07:00
963eb485d8 Fix missing and wrong license (#1422) 2017-08-04 13:46:18 -07:00
3773797869 Travis: add staticcheck (#1019)
Also only run golint and go vet in Go 1.8, and fix some vet failures.
2017-05-15 17:05:27 -07:00
38df39bad1 Revert "temporary disable 1.6 on travis (#1198)" (#1199)
This reverts commit 72b617aacebed7836e806925e6f61eef55cb40c8.
2017-04-24 11:16:03 -07:00
72b617aace temporary disable 1.6 on travis (#1198) 2017-04-21 16:18:50 -07:00
0a20758157 remove support for go1.5 (#1132) 2017-03-23 20:52:49 -07:00
467c1fdc83 add go1.8 to travis.yml 2017-02-21 13:55:01 -08:00
a0474a67ea exclude mockgen generated code from golint 2016-12-13 15:48:06 -08:00
d97b110bc5 Skip golint in go 1.5 2016-10-07 11:07:23 -07:00
abe69848df travis: update all the tools
Fix new golint complaints
2016-08-18 16:53:48 -04:00
6e7d46934f travis: test against Go1.7
Fix new go vet complaints
2016-08-18 16:53:47 -04:00
8ab0d24ed3 Update travis config 2016-07-27 23:55:59 -04:00
ac90a026b6 *: go vet 2016-07-27 23:39:19 -04:00
220b464e81 *: golint 2016-07-27 23:38:59 -04:00
9aa8038716 *: gofmt/goimports simplify 2016-07-27 23:38:28 -04:00
8e8c6a1b40 Merge pull request #604 from broady/travis
travis: build against go1.5.3, go1.6
2016-03-28 23:15:11 -07:00
785723ef9c travis: build against go1.5.3, go1.6 2016-03-28 15:06:19 -07:00
3ecc13ec96 Disable the code coverage checker.
It's too noisy and not worth it. I don't like encouraging the code
coverage game, wherein people write bad tests to get points.
It's annoying to get a red X in the PR status when coverage dropped
by 1 line or 0.4%.

Good code review should be sufficient to verify we have both tests
and good tests.
2016-02-26 00:02:08 +00:00