mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -05:00
enable linux and windows in travis ci
This commit is contained in:
parent
d730637239
commit
4f7aa625e4
21
.travis.yml
21
.travis.yml
@ -1,15 +1,24 @@
|
||||
sudo: required
|
||||
|
||||
os:
|
||||
- osx
|
||||
- linux
|
||||
- windows
|
||||
|
||||
language: go
|
||||
go:
|
||||
- "1.11.1"
|
||||
- "1.11.1"
|
||||
go_import_path: v2ray.com/core
|
||||
|
||||
git:
|
||||
depth: 5
|
||||
|
||||
before_script:
|
||||
- uname -a
|
||||
- sudo ntpdate -u time.google.com
|
||||
- date
|
||||
- uname -a
|
||||
- date
|
||||
|
||||
script:
|
||||
- go test -p 1 -tags json -v v2ray.com/core/...
|
||||
- go test -p 1 -tags json -v v2ray.com/core/...
|
||||
|
||||
after_success:
|
||||
- ./testing/coverage/coverall
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./testing/coverage/coverall; fi
|
||||
|
Loading…
Reference in New Issue
Block a user