2013-07-20 16:02:10 +00:00
|
|
|
language: go
|
2016-05-09 12:41:01 +00:00
|
|
|
|
2015-06-11 05:27:57 +00:00
|
|
|
sudo: false
|
|
|
|
|
2016-06-16 15:47:19 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
|
2015-06-11 05:27:57 +00:00
|
|
|
go:
|
|
|
|
- 1.2.2
|
|
|
|
- 1.3.3
|
2016-05-06 16:30:30 +00:00
|
|
|
- 1.4
|
2016-05-06 16:19:01 +00:00
|
|
|
- 1.5.4
|
|
|
|
- 1.6.2
|
2016-05-09 12:41:01 +00:00
|
|
|
- master
|
2015-11-15 21:07:49 +00:00
|
|
|
|
2016-05-30 16:44:41 +00:00
|
|
|
env: pip_install="pip install --user"
|
|
|
|
|
2015-11-15 21:07:49 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2016-05-09 12:41:01 +00:00
|
|
|
- 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"
|
2014-07-14 17:48:52 +00:00
|
|
|
|
2016-04-27 15:38:49 +00:00
|
|
|
before_script:
|
2016-05-30 16:44:41 +00:00
|
|
|
- $pip_install flake8
|
2016-05-24 20:07:30 +00:00
|
|
|
- go get github.com/urfave/gfmxr/...
|
2016-06-23 04:56:44 +00:00
|
|
|
- go get golang.org/x/tools/cmd/goimports
|
2016-06-16 15:47:19 +00:00
|
|
|
- if [ ! -f node_modules/.bin/markdown-toc ] ; then
|
|
|
|
npm install markdown-toc ;
|
|
|
|
fi
|
2016-06-22 16:55:38 +00:00
|
|
|
- go get github.com/urfave/gfmxr/...
|
2016-06-18 19:47:23 +00:00
|
|
|
- mkdir -p ${GOPATH%%:*}/src/gopkg.in/urfave
|
|
|
|
- rm -rvf ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2
|
2016-06-22 20:57:18 +00:00
|
|
|
- rm -rvf ${GOPATH%%:*}/pkg/*/gopkg.in/urfave/cli.v2.a
|
2016-06-18 19:47:23 +00:00
|
|
|
- ln -sv ${TRAVIS_BUILD_DIR} ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2
|
2016-04-27 15:38:49 +00:00
|
|
|
|
2014-07-14 17:48:52 +00:00
|
|
|
script:
|
2016-07-15 12:45:46 +00:00
|
|
|
- flake8 runtests cli-v1-to-v2 generate-flag-types
|
2016-06-23 04:56:44 +00:00
|
|
|
- ./runtests gen
|
2016-05-09 12:58:20 +00:00
|
|
|
- ./runtests vet
|
|
|
|
- ./runtests test
|
|
|
|
- ./runtests gfmxr
|
2016-05-30 13:51:12 +00:00
|
|
|
- ./cli-v1-to-v2 --selftest
|
2016-05-30 17:59:45 +00:00
|
|
|
- ./runtests migrations
|
2016-06-16 15:47:19 +00:00
|
|
|
- ./runtests toc
|