2017-02-07 11:03:42 -05:00
|
|
|
sudo: required
|
2018-10-12 18:58:32 -04:00
|
|
|
|
|
|
|
os:
|
|
|
|
- osx
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
|
2015-09-07 11:37:23 -04:00
|
|
|
language: go
|
|
|
|
go:
|
2018-10-12 18:58:32 -04:00
|
|
|
- "1.11.1"
|
2016-08-20 14:55:45 -04:00
|
|
|
go_import_path: v2ray.com/core
|
2018-10-12 18:58:32 -04:00
|
|
|
|
2016-08-12 11:08:07 -04:00
|
|
|
git:
|
|
|
|
depth: 5
|
2018-10-12 18:58:32 -04:00
|
|
|
|
2017-02-07 15:24:14 -05:00
|
|
|
before_script:
|
2018-10-12 18:58:32 -04:00
|
|
|
- uname -a
|
|
|
|
- date
|
|
|
|
|
2015-09-07 11:56:35 -04:00
|
|
|
script:
|
2018-10-12 18:58:32 -04:00
|
|
|
- go test -p 1 -tags json -v v2ray.com/core/...
|
|
|
|
|
2016-02-04 11:04:31 -05:00
|
|
|
after_success:
|
2018-10-12 18:58:32 -04:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./testing/coverage/coverall; fi
|