-
Notifications
You must be signed in to change notification settings - Fork 33
/
.travis.yml
51 lines (47 loc) · 1.2 KB
/
.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
44
45
46
47
48
49
50
51
language: go
go_import_path: github.com/FusionFoundation/efsn
os: linux
jobs:
include:
- stage: build
os: linux
dist: bionic
go: 1.12.x
script:
- go run build/ci.go install
- stage: build
os: linux
dist: bionic
go: 1.13.x
script:
- go run build/ci.go install
# These are the latest Go versions.
- stage: build
os: linux
arch: amd64
dist: bionic
go: master
script:
- go run build/ci.go install
- stage: build
if: type = pull_request
os: linux
arch: amd64
dist: bionic
go: 1.13.x
script:
- go run build/ci.go install
- stage: build
os: osx
go: 1.13.x
script:
- echo "Increase the maximum number of open file descriptors on macOS"
- NOFILE=20480
- sudo sysctl -w kern.maxfiles=$NOFILE
- sudo sysctl -w kern.maxfilesperproc=$NOFILE
- sudo launchctl limit maxfiles $NOFILE $NOFILE
- sudo launchctl limit maxfiles
- ulimit -S -n $NOFILE
- ulimit -n
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
- go run build/ci.go install