2013-07-20 16:02:10 +00:00
|
|
|
language: go
|
2015-06-11 05:27:57 +00:00
|
|
|
sudo: false
|
2017-08-03 19:07:56 +00:00
|
|
|
dist: trusty
|
2017-08-03 19:38:19 +00:00
|
|
|
osx_image: xcode8.3
|
|
|
|
go: 1.8.x
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2015-06-11 05:27:57 +00:00
|
|
|
|
2016-06-16 15:47:19 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
|
2016-04-27 15:38:49 +00:00
|
|
|
before_script:
|
2017-08-04 15:59:27 +00:00
|
|
|
- if [[ $(uname) == Darwin ]]; then
|
|
|
|
sudo pip install flake8;
|
|
|
|
else
|
|
|
|
pip install --user flake8;
|
2016-06-16 15:47:19 +00:00
|
|
|
fi
|
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
|