asdf-golang/.travis.yml
Michael Hale b7780500cf
Extract version from go.mod files (#32)
* Extract version from go.mod files

* make it work on linux too

* whitespace

* ignore asdf testing checkout

* fix test
2020-06-16 18:08:17 -04:00

17 lines
422 B
YAML

language: c
script: asdf plugin test golang $TRAVIS_BUILD_DIR --asdf-plugin-gitref $TRAVIS_COMMIT go version
before_script:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install -y bsdmainutils; fi
- git clone https://github.com/asdf-vm/asdf.git
- . asdf/asdf.sh
matrix:
include:
- os: linux
arch: amd64
- os: linux
arch: ppc64le
- os: linux
arch: arm64
- os: osx
arch: amd64