mirror of
https://github.com/kennyp/asdf-golang.git
synced 2024-10-06 04:32:07 +08:00
b1990b0a23
- Creates a temporary directory if using an older version of asdf. - Install delegates to bin/download if using an older version of asdf.
18 lines
430 B
YAML
18 lines
430 B
YAML
language: bash
|
|
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
|