github.com/pkujhd/goloader@v0.0.0-20240411034752-1a28096bd7bd/.travis.yml (about) 1 language: go 2 3 go: 4 - "1.8.x" 5 - "1.9.x" 6 - "1.10.x" 7 - "1.11.x" 8 - "1.12.x" 9 - "1.13.x" 10 - "1.14.x" 11 - "1.15.x" 12 - "1.16.x" 13 - "1.17.x" 14 15 compiler: go 16 17 os: 18 - linux 19 20 arch: 21 - arm64 22 23 notifications: 24 email: false 25 26 before_install: 27 - cp -r $GOROOT/src/cmd/internal $GOROOT/src/cmd/objfile 28 29 script: 30 - export GO111MODULE=auto 31 - go build github.com/pkujhd/goloader/examples/loader 32 - go tool compile $GOPATH/src/github.com/pkujhd/goloader/examples/base/base.go 33 - go tool compile $GOPATH/src/github.com/pkujhd/goloader/examples/const/const.go 34 - ./loader -o base.o -run main.main 35 - ./loader -o const.o -run main.main