Skip to content

Commit

Permalink
Add deploy linux and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
LionZXY committed Aug 13, 2019
1 parent 22ffb77 commit e6c0843
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,23 @@ matrix:
- cmd.exe /C 'zlib-1.2.3.exe /SP /SILENT'
script:
- mingw32-make -f windows.Makefile
deploy:
provider: releases
api_key: $GH_TOKEN
file: build\pkg-windows.exe
skip_cleanup: true
- os: linux
before_script:
- sudo add-apt-repository -y ppa:saiarcot895/myppa
- sudo apt update
- sudo apt install openjdk-8-jdk zlib1g zlib1g-dev
script:
- make -f linux.Makefile
deploy:
provider: releases
api_key: $GH_TOKEN
file: build/pkg-linux
skip_cleanup: true
- os: osx
before_script:
- brew tap AdoptOpenJDK/openjdk
Expand Down

0 comments on commit e6c0843

Please sign in to comment.