diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2019-04-26 19:48:33 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-04-26 19:48:33 +0100 |
commit | 9c3faeb0ee6c588bc4772bd186554796cc1e446e (patch) | |
tree | abed05985db9e1b6a51ff113067ed78396034ee7 /Tools | |
parent | 2937f0529615a6220418bc3bcdf18902ed8bb9a9 (diff) | |
download | swig-9c3faeb0ee6c588bc4772bd186554796cc1e446e.tar.gz |
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.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/travis-linux-install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/travis-linux-install.sh b/Tools/travis-linux-install.sh index dc8526546..bfa7bf8eb 100755 --- a/Tools/travis-linux-install.sh +++ b/Tools/travis-linux-install.sh @@ -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 |