Travis testing of Go changes

Use gimme to install a version of Go to test. Travis already uses gimme
to pre-install a version of Go.
Switch some of the Go testing from travis to xenial.
This commit is contained in:
William S Fulton 2019-04-26 19:48:33 +01:00
commit 9c3faeb0ee
2 changed files with 12 additions and 4 deletions

View file

@ -37,6 +37,9 @@ case "$SWIGLANG" in
travis_retry sudo dpkg -i dmd_2.066.0-0_amd64.deb
;;
"go")
if [[ "$VER" ]]; then
eval "$(gimme ${VER}.x)"
fi
;;
"javascript")
case "$ENGINE" in