urfave-cli/.travis.yml
Audrius Butkevicius 59f572e953
Update .travis.yml
2019-08-06 21:09:50 +01:00

29 lines
545 B
YAML

language: go
sudo: false
dist: trusty
osx_image: xcode8.3
go: 1.11.x
os:
- linux
- osx
cache:
directories:
- node_modules
before_script:
- if [[ $(uname) == Darwin ]]; then
sudo pip2 install flake8;
else
pip install --user flake8;
fi
- mkdir -p ${GOPATH%%:*}/src/gopkg.in/urfave
- rm -rvf ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2
- rm -rvf ${GOPATH%%:*}/pkg/*/gopkg.in/urfave/cli.v2.a
- ln -sv ${TRAVIS_BUILD_DIR} ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2
script:
- flake8 runtests cli-v1-to-v2 generate-flag-types
- make all