github.com/aquanetwork/aquachain@v1.7.8/.travis.yml (about) 1 language: go 2 go_import_path: gitlab.com/aquachain/aquachain 3 sudo: false 4 matrix: 5 include: 6 - os: linux 7 dist: trusty 8 sudo: required 9 go: "1.11" 10 env: 11 - test-nocgo 12 script: 13 - sudo modprobe fuse 14 - sudo chmod ugo+rw /dev/fuse 15 - sudo chown root:$USER /etc/fuse.conf 16 - CGO_ENABLED=0 go run build/ci.go install 17 - CGO_ENABLED=0 go run build/ci.go test 18 - os: linux 19 dist: trusty 20 sudo: required 21 go: "1.11" 22 env: 23 - test-cgo 24 script: 25 - sudo modprobe fuse 26 - sudo chmod ugo+rw /dev/fuse 27 - sudo chown root:$USER /etc/fuse.conf 28 - CGO_ENABLED=1 go run build/ci.go install 29 - CGO_ENABLED=1 go run build/ci.go test -coverage 30 - os: linux 31 dist: alpine 32 sudo: required 33 go: "1.11" 34 env: 35 - build-import 36 script: 37 - sudo modprobe fuse 38 - sudo chmod ugo+rw /dev/fuse 39 - sudo chown root:$USER /etc/fuse.conf 40 - go run build/ci.go install -musl 41 - git clone https://gitlab.com/aquachain/bootstraps.git /tmp/bootstraps 42 - go run build/ci.go import-test /tmp/bootstraps/latest.dat 43 44 - os: linux 45 dist: trusty 46 go: "1.11" 47 env: 48 - lint 49 git: 50 submodules: false # avoid cloning aquachain/tests 51 script: 52 - go run build/ci.go lint