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