git » log » commit 35eb867

travis: Update to bionic

author Alberto Bertogli
2020-05-22 17:00:19 UTC
committer Alberto Bertogli
2020-05-22 17:05:20 UTC
parent 88fa8fae70f0c6433d7c45bcd074376a9f4d20df

travis: Update to bionic

This patch updates the Travis config to use the latest environment,
which should result in faster builds and less noise.

It also raises the minimum build version to 1.10, which came out years
ago, because we now depend on strings.Builder which was introduced then.

.travis.yml +3 -3

diff --git a/.travis.yml b/.travis.yml
index 30fdda1..eaae079 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,16 @@
 # Configuration for https://travis-ci.org/
 
 language: go
-dist: trusty
-sudo: false
+dist: bionic
 
 go_import_path: blitiri.com.ar/go/log
 
 go:
-    - 1.7
+    - 1.10.x
     - stable
     - master
 
 script:
     - go test ./...
     - go test -race ./...
+    - go test -bench ./...