Update .travis.yml

This commit is contained in:
Tim Sarbin 2019-11-02 11:39:27 -04:00
parent 62e6302ad4
commit 6fa0f39e14
1 changed files with 6 additions and 7 deletions

View File

@ -14,20 +14,19 @@ addons:
- libgles2-mesa-dev
- libasound2-dev
script:
- go get
- go build .
git:
depth: 1
notifications:
email: false
before_deploy:
- git config --local user.name "$GitUser"
- git config --local user.email "$GitEmail"
- git tag Build-Master-$TRAVIS_OS_NAME
- git commit -m "Update build version file with $TRAVIS_BUILD_NUMBER"
- mkdir -p ./build_artifacts
- go get
- go build .
- if [ "$TRAVIS_OS_NAME" = "win" ]; then cp ./OpenDiablo2.exe ./build_artifacts ; else cp ./OpenDiablo2 ./build_artifacts fi
- cp ./config.json ./build_artifacts
git:
depth: 1
notifications:
email: false
deploy:
provider: releases
api_key: