urfave-cli/.travis.yml

52 lines
980 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.2
- 1.3.3
- 1.4
- 1.5.4
- 1.6.2
- 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:
2016-05-24 00:21:14 +00:00
- go: 1.6.2
os: osx
2016-05-30 16:44:41 +00:00
env: pip_install="sudo pip install"
2016-05-21 12:46:18 +00:00
- go: 1.1.2
install: go get -v .
before_script: echo skipping gfmxr on ${TRAVIS_GO_VERSION}
2016-05-21 12:49:43 +00:00
script:
- ./runtests vet
- ./runtests test
2014-07-14 17:48:52 +00:00
before_script:
2016-05-30 16:44:41 +00:00
- $pip_install flake8
- if [ ! -f node_modules/.bin/markdown-toc ] ; then
npm install markdown-toc ;
fi
- go get github.com/urfave/gfmxr/...
- 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
- ./runtests vet
- ./runtests test
- ./runtests gfmxr
- ./cli-v1-to-v2 --selftest
2016-05-30 17:59:45 +00:00
- ./runtests migrations
- ./runtests toc