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:
|
2016-07-23 21:52:19 +00:00
|
|
|
- 1.2.x
|
|
|
|
- 1.3.x
|
2016-07-23 22:16:45 +00:00
|
|
|
- 1.4.2
|
2016-07-23 21:52:19 +00:00
|
|
|
- 1.5.x
|
|
|
|
- 1.6.x
|
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-07-23 21:52:19 +00:00
|
|
|
- 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
|
|
|
|
2016-04-27 15:38:49 +00:00
|
|
|
before_script:
|
2016-05-30 16:44:41 +00:00
|
|
|
- $pip_install flake8
|
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-08-24 18:57:01 +00:00
|
|
|
- make all
|