Skip to content

Commit

Permalink
chore: update after fix dependences
Browse files Browse the repository at this point in the history
  • Loading branch information
naviat committed Sep 5, 2019
1 parent c2e2e7e commit fa959ce
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Expand Up @@ -12,18 +12,20 @@ env:
jobs:
include:
- stage: Release application
before_install:
- sudo apt-get install gcc-multilib gcc-mingw-w64
script:
- GOARCH=amd64 GOOS=linux go build -o tomox-sdk.$TRAVIS_TAG.linux.amd64
- GOARCH=amd64 GOOS=darwin go build -o tomox-sdk.$TRAVIS_TAG.darwin.amd64
- GOARCH=amd64 GOOS=windows go build -o tomox-sdk.$TRAVIS_TAG.amd64.exe
#- GOARCH=amd64 GOOS=darwin go build -o tomox-sdk.$TRAVIS_TAG.darwin.amd64
- CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ GOARCH=amd64 GOOS=windows go build -o tomox-sdk.$TRAVIS_TAG.amd64.exe
deploy:
provider: releases
api_key: $GH_TOKEN
skip_cleanup: true
overwrite: true
file:
- tomox-sdk.$TRAVIS_TAG.linux.amd64
- tomox-sdk.$TRAVIS_TAG.darwin.amd64
#- tomox-sdk.$TRAVIS_TAG.darwin.amd64
- tomox-sdk.$TRAVIS_TAG.amd64.exe
on:
tags: true
Expand Down

0 comments on commit fa959ce

Please sign in to comment.