mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-27 05:35:57 -04:00
Update .travis.yml
This commit is contained in:
parent
62e6302ad4
commit
6fa0f39e14
13
.travis.yml
13
.travis.yml
@ -14,20 +14,19 @@ addons:
|
|||||||
- libgles2-mesa-dev
|
- libgles2-mesa-dev
|
||||||
- libasound2-dev
|
- libasound2-dev
|
||||||
script:
|
script:
|
||||||
- go get
|
|
||||||
- go build .
|
|
||||||
git:
|
|
||||||
depth: 1
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
||||||
before_deploy:
|
|
||||||
- git config --local user.name "$GitUser"
|
- git config --local user.name "$GitUser"
|
||||||
- git config --local user.email "$GitEmail"
|
- git config --local user.email "$GitEmail"
|
||||||
- git tag Build-Master-$TRAVIS_OS_NAME
|
- git tag Build-Master-$TRAVIS_OS_NAME
|
||||||
- git commit -m "Update build version file with $TRAVIS_BUILD_NUMBER"
|
- git commit -m "Update build version file with $TRAVIS_BUILD_NUMBER"
|
||||||
- mkdir -p ./build_artifacts
|
- 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
|
- if [ "$TRAVIS_OS_NAME" = "win" ]; then cp ./OpenDiablo2.exe ./build_artifacts ; else cp ./OpenDiablo2 ./build_artifacts fi
|
||||||
- cp ./config.json ./build_artifacts
|
- cp ./config.json ./build_artifacts
|
||||||
|
git:
|
||||||
|
depth: 1
|
||||||
|
notifications:
|
||||||
|
email: false
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key:
|
api_key:
|
||||||
|
Loading…
Reference in New Issue
Block a user