enable linux and windows in travis ci

pull/1313/merge
Darien Raymond 2018-10-13 00:58:32 +02:00
parent d730637239
commit 4f7aa625e4
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 15 additions and 6 deletions

View File

@ -1,15 +1,24 @@
sudo: required sudo: required
os:
- osx
- linux
- windows
language: go language: go
go: go:
- "1.11.1" - "1.11.1"
go_import_path: v2ray.com/core go_import_path: v2ray.com/core
git: git:
depth: 5 depth: 5
before_script: before_script:
- uname -a - uname -a
- sudo ntpdate -u time.google.com - date
- date
script: script:
- go test -p 1 -tags json -v v2ray.com/core/... - go test -p 1 -tags json -v v2ray.com/core/...
after_success: after_success:
- ./testing/coverage/coverall - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./testing/coverage/coverall; fi