forked from fsnotify/fsevents
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
43 lines (37 loc) · 954 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
sudo: false
language: go
os: osx
go:
- "stable"
- "1.10.4"
- "1.10.3" # 1.10.3 (and earlier 1.10.x) have unique bugs to work around.
- "1.9.7"
- "1.8.7"
matrix:
include:
# - os: osx
# osx_image: xcode9.4 # macOS 10.13 (default)
- name: macOS 10.12
os: osx
osx_image: xcode9.2
- name: macOS 10.11
os: osx
osx_image: xcode8
- name: macOS 10.10
os: osx
osx_image: xcode6.4
go: "1.8.7" # go 1.9+ fails build on macOS 10.10 (invalid abbreviation code [110] for DIE)
fast_finish: true
before_script:
- if which sw_vers; then sw_vers; fi
- go get -u golang.org/x/lint/golint
script:
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
after_script:
- test -z "$(gofmt -s -l -w . | tee /dev/stderr)"
- test -z "$(golint ./... | tee /dev/stderr)"
- go vet ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email: false