github.com/n1ghtfa1l/go-vnt@v0.6.4-alpha.6/.travis.yml (about) 1 language: go 2 go_import_path: github.com/vntchain/go-vnt 3 sudo: false 4 notifications: always 5 matrix: 6 include: 7 - stage: Build & Test on linux go1.10.x 8 os: linux 9 dist: trusty 10 sudo: required 11 go: 1.10.x 12 before_install: 13 - sudo modprobe fuse 14 - sudo chmod 666 /dev/fuse 15 - sudo chown root:$USER /etc/fuse.conf 16 script: 17 - make test 18 19 20 # These are the latest Go versions. 21 - stage: Build & Test on linux go1.11.x 22 if: branch = master 23 os: linux 24 dist: xenial 25 sudo: required 26 go: 1.11.x 27 before_install: 28 - sudo modprobe fuse 29 - sudo chmod 666 /dev/fuse 30 - sudo chown root:$USER /etc/fuse.conf 31 script: 32 - make test 33 34 - stage: Build & Test on OSX 35 if: branch = master 36 os: osx 37 go: 1.11.x 38 before_install: 39 - echo "Increase the maximum number of open file descriptors on macOS" 40 - NOFILE=20480 41 - sudo sysctl -w kern.maxfiles=$NOFILE 42 - sudo sysctl -w kern.maxfilesperproc=$NOFILE 43 - sudo launchctl limit maxfiles $NOFILE $NOFILE 44 - sudo launchctl limit maxfiles 45 - ulimit -S -n $NOFILE 46 - ulimit -n 47 - unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703 48 script: 49 - make test