urfave-cli/.travis.yml

41 lines
682 B
YAML
Raw Normal View History

2013-07-20 16:02:10 +00:00
language: go
sudo: false
cache:
directories:
- node_modules
go:
- 1.2.x
- 1.3.x
- 1.4.2
- 1.5.x
- 1.6.x
- 1.7.x
- master
2016-05-30 16:44:41 +00:00
env: pip_install="pip install --user"
matrix:
allow_failures:
- go: master
2016-05-21 12:46:18 +00:00
include:
- go: 1.6.x
2016-05-24 00:21:14 +00:00
os: osx
2016-05-30 16:44:41 +00:00
env: pip_install="sudo pip install"
- go: 1.7.x
os: osx
env: pip_install="sudo pip install"
2014-07-14 17:48:52 +00:00
before_script:
2016-05-30 16:44:41 +00:00
- $pip_install flake8
- 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