install libvirt travis

pull/5459/head
Medya Gh 2019-09-25 10:17:42 -07:00
parent 9cb3f99a33
commit 3aece1262a
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,6 @@ go:
env: env:
global: global:
- GOPROXY=https://proxy.golang.org - GOPROXY=https://proxy.golang.org
matrix: matrix:
include: include:
- language: python - language: python
@ -22,14 +21,16 @@ matrix:
go: 1.12.9 go: 1.12.9
env: env:
- TESTSUITE_LINT=true - TESTSUITE_LINT=true
before_install:
- sudo apt-get install -y libvirt-dev
script: make test script: make test
- language: go - language: go
go: 1.12.9 go: 1.12.9
env: env:
- TESTSUITE_UNIT=true - TESTSUITE_UNIT=true
# before_install: before_install:
# - sudo apt-get install -y libvirt-dev - sudo apt-get install -y libvirt-dev
script: make test script: make test
after_success: after_success:

View File

@ -16,7 +16,6 @@
set -e -o pipefail set -e -o pipefail
# TODO: fix exit code numbers # TODO: fix exit code numbers
# TODO: make test should work locally as it was before
if [[ -z "$TESTSUITE_LINT" && -z "$TESTSUITE_UNIT" && -z "$TESTSUITE_BOILERPLATE" ]] if [[ -z "$TESTSUITE_LINT" && -z "$TESTSUITE_UNIT" && -z "$TESTSUITE_BOILERPLATE" ]]
then # if all of them are not set then it is a local run then # if all of them are not set then it is a local run
TESTSUITE_LINT=true TESTSUITE_LINT=true