Skip to content

Commit

Permalink
Use xvfb for testing on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadido3 committed Jul 13, 2019
1 parent 7cb188b commit 57f74b0
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,23 @@ go:
env:
- GO111MODULE=on

script:
- go test
- go build

matrix:
include:
- os: windows
script:
- go test
- go build
before_deploy: ./scripts/pack_windows.x86-64.bat
- os: linux
before_install:
- sudo apt-get install -y libgtk-3-dev
script:
- xvfb-run go test
- go build
addons:
apt:
update: true
packages:
- xvfb
- libgtk-3-dev
before_deploy: ./scripts/pack_linux.x86-64.sh

install: true
Expand Down

0 comments on commit 57f74b0

Please sign in to comment.