diff --git a/.travis.yml b/.travis.yml index 255fae5..0c71ed5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,17 +5,20 @@ go: env: - GO111MODULE=on +script: + - go test + - go build + matrix: include: - os: windows - script: - - go test - - ./scripts/build_windows.x86-64.bat before_deploy: ./scripts/pack_windows.x86-64.bat - os: linux - script: - - go test - - ./scripts/build_linux.x86-64.sh + before_install: + - sudo apt-get install -y libgtk-3-dev + addons: + apt: + update: true before_deploy: ./scripts/pack_linux.x86-64.sh install: true diff --git a/scripts/build_linux.x86-64.sh b/scripts/build_linux.x86-64.sh deleted file mode 100755 index e5e878c..0000000 --- a/scripts/build_linux.x86-64.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -sudo apt-get update -sudo apt-get install -y libgtk-3-dev - -go build \ No newline at end of file diff --git a/scripts/build_windows.x86-64.bat b/scripts/build_windows.x86-64.bat deleted file mode 100644 index 363fa9f..0000000 --- a/scripts/build_windows.x86-64.bat +++ /dev/null @@ -1 +0,0 @@ -go build \ No newline at end of file