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
|
2019-08-06 20:09:50 +00:00
|
|
|
go: 1.11.x
|
2017-08-03 19:38:19 +00:00
|
|
|
|
|
|
|
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
|
2018-01-28 17:58:38 +00:00
|
|
|
sudo pip2 install flake8;
|
2017-08-04 15:59:27 +00:00
|
|
|
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
|