urfave-cli/.travis.yml

48 lines
904 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
- 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"
2014-07-14 17:48:52 +00:00
before_script:
2016-05-30 16:44:41 +00:00
- $pip_install flake8
2016-07-16 13:12:42 +00:00
- go get github.com/urfave/gfmrun/...
- go get golang.org/x/tools/... || true
- if [ ! -f node_modules/.bin/markdown-toc ] ; then
npm install markdown-toc ;
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
- ./runtests gen
- ./runtests vet
- ./runtests test
2016-07-16 13:12:42 +00:00
- ./runtests gfmrun
- ./cli-v1-to-v2 --selftest
2016-05-30 17:59:45 +00:00
- ./runtests migrations
- ./runtests toc