mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
travis: check if qemu works
This commit is contained in:
parent
d9567a8322
commit
b69569ba55
1 changed files with 8 additions and 4 deletions
12
.travis.yml
12
.travis.yml
|
|
@ -56,12 +56,16 @@ jobs:
|
||||||
- go run build/ci.go install
|
- go run build/ci.go install
|
||||||
- go run build/ci.go test -coverage $TEST_PACKAGES
|
- go run build/ci.go test -coverage $TEST_PACKAGES
|
||||||
|
|
||||||
- os: FreeBSD
|
- os: linux
|
||||||
dist: 12.0-STABLE
|
dist: xenial
|
||||||
go: 1.12.x
|
go: 1.12.x
|
||||||
script:
|
script:
|
||||||
- go run build/ci.go install
|
- sudo apt install -y qemu-system qemu-kvm qemu-utils
|
||||||
- go run build/ci.go test -coverage $TEST_PACKAGES
|
- wget https://download.freebsd.org/ftp/snapshots/VM-IMAGES/12.0-STABLE/amd64/Latest/FreeBSD-12.0-STABLE-amd64.qcow2.xz
|
||||||
|
- unxz FreeBSD-12.0-STABLE-amd64.qcow2.xz
|
||||||
|
- qemu-system-x86_64 FreeBSD-12.0-STABLE-amd64.qcow2 -daemonize -display none -m 2048 -smp 4 -net user,hostfwd=tcp::10022-:22 -net nic
|
||||||
|
#- go run build/ci.go install
|
||||||
|
#- go run build/ci.go test -coverage $TEST_PACKAGES
|
||||||
|
|
||||||
# This builder does the Ubuntu PPA upload
|
# This builder does the Ubuntu PPA upload
|
||||||
- stage: build
|
- stage: build
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue