go.etcd.io/etcd@v3.3.27+incompatible/.travis.yml (about) 1 language: go 2 go_import_path: github.com/coreos/etcd 3 4 sudo: required 5 6 services: docker 7 8 go: 9 - 1.12.12 10 11 env: 12 - GO111MODULE=on 13 14 notifications: 15 on_success: never 16 on_failure: never 17 18 env: 19 matrix: 20 - TARGET=linux-amd64-integration-1-cpu 21 - TARGET=linux-amd64-integration-4-cpu 22 - TARGET=linux-amd64-functional 23 - TARGET=linux-amd64-unit 24 - TARGET=linux-amd64-e2e 25 - TARGET=all-build 26 - TARGET=linux-386-unit 27 28 matrix: 29 fast_finish: true 30 allow_failures: 31 - go: 1.12.12 32 env: TARGET=linux-386-unit 33 34 install: 35 - go get -t -v -d ./... 36 37 script: 38 - echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}" 39 - > 40 case "${TARGET}" in 41 linux-amd64-integration-1-cpu) 42 GOARCH=amd64 CPU=1 PASSES='integration' ./test 43 ;; 44 linux-amd64-integration-4-cpu) 45 GOARCH=amd64 CPU=4 PASSES='integration' ./test 46 ;; 47 linux-amd64-functional) 48 ./build && GOARCH=amd64 PASSES='functional' ./test 49 ;; 50 linux-amd64-unit) 51 ./build && GOARCH=amd64 PASSES='unit' ./test 52 ;; 53 linux-amd64-e2e) 54 GOARCH=amd64 PASSES='build release e2e' MANUAL_VER=v3.3.13 ./test 55 ;; 56 all-build) 57 GOARCH=386 PASSES='build' ./test \ 58 && GO_BUILD_FLAGS='-v' GOOS=darwin GOARCH=amd64 ./build \ 59 && GO_BUILD_FLAGS='-v' GOARCH=arm ./build \ 60 && GO_BUILD_FLAGS='-v' GOARCH=arm64 ./build \ 61 && GO_BUILD_FLAGS='-v' GOARCH=ppc64le ./build 62 ;; 63 linux-386-unit) 64 GOARCH=386 ./build && GOARCH=386 PASSES='unit' ./test 65 ;; 66 esac