urfave-cli/.travis.yml

29 lines
543 B
YAML
Raw Normal View History

2013-07-20 16:02:10 +00:00
language: go
sudo: false
dist: trusty
osx_image: xcode8.3
go: 1.8.x
os:
- linux
- osx
cache:
directories:
- node_modules
before_script:
- if [[ $(uname) == Darwin ]]; then
sudo pip 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
2014-07-14 17:48:52 +00:00
script:
- flake8 runtests cli-v1-to-v2 generate-flag-types
- make all