language: go go_import_path: github.com/xuperchain/xuperunion sudo: false go: - 1.12.x matrix: include: - os: linux dist: xenial - os: osx osx_image: xcode10.1 script: - diff -u <(echo -n) <(gofmt -d $(find . -type f -name '*.go' -not -path "./vendor/*")) - make && make test cache: directories: - .cache