Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianTerhorst committed Jun 27, 2019
2 parents c7e6e09 + f67f15c commit e5d20ee
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ sudo: false
language: cpp
env:
- GITHUB_DEPLOY_PRERELEASE=$(if echo $VERSION | grep -q "\-" ; then echo true; else echo false; fi)
- WINDOWS_BETA=$(if [ "$GITHUB_DEPLOY_PRERELEASE" = true ] && [ "$TRAVIS_OS_NAME" = "windows" ] ; then echo true; else echo false; fi)
- LINUX_BETA=$(if [ "$GITHUB_DEPLOY_PRERELEASE" = true ] && [ "$TRAVIS_OS_NAME" = "linux" ] ; then echo true; else echo false; fi)
- WINDOWS_STABLE=$(if [ "$GITHUB_DEPLOY_PRERELEASE" = false ] && [ "$TRAVIS_OS_NAME" = "windows" ] ; then echo true; else echo false; fi)
- LINUX_STABLE=$(if [ "$GITHUB_DEPLOY_PRERELEASE" = false ] && [ "$TRAVIS_OS_NAME" = "linux" ] ; then echo true; else echo false; fi)
#branches:
# only:
# - master
Expand Down Expand Up @@ -43,7 +47,7 @@ deploy:
file: libcsharp-module.so
on:
repo: FabianTerhorst/coreclr-module
condition: os = linux AND env(GITHUB_DEPLOY_PRERELEASE) IS false
condition: "$LINUX_STABLE = true"
tags: true
- provider: releases
skip_cleanup: true
Expand All @@ -52,7 +56,7 @@ deploy:
file: csharp-module.dll
on:
repo: FabianTerhorst/coreclr-module
condition: os = windows AND env(GITHUB_DEPLOY_PRERELEASE) IS false
condition: "$WINDOWS_STABLE = true"
tags: true
- provider: releases
skip_cleanup: true
Expand All @@ -62,7 +66,7 @@ deploy:
file: libcsharp-module.so
on:
repo: FabianTerhorst/coreclr-module
condition: os = linux AND env(GITHUB_DEPLOY_PRERELEASE) IS true
condition: "$LINUX_BETA = true"
tags: true
- provider: releases
skip_cleanup: true
Expand All @@ -72,35 +76,35 @@ deploy:
file: csharp-module.dll
on:
repo: FabianTerhorst/coreclr-module
condition: os = windows AND env(GITHUB_DEPLOY_PRERELEASE) IS true
condition: "$WINDOWS_BETA = true"
tags: true
- provider: script
skip_cleanup: true
script: cd .. && cd .. && cd .. && cd .. && scs3-win.exe upload .\runtime\build\src\Release\csharp-module.dll coreclr-module/stable/x64_win32/csharp-module.dll
on:
repo: FabianTerhorst/coreclr-module
condition: os = windows AND env(GITHUB_DEPLOY_PRERELEASE) IS false
condition: "$WINDOWS_STABLE = true"
tags: true
- provider: script
skip_cleanup: true
script: cd .. && cd .. && cd .. && chmod +x ./scs3-linux && ./scs3-linux upload ./runtime/build/src/libcsharp-module.so coreclr-module/stable/x64_linux/libcsharp-module.so
on:
repo: FabianTerhorst/coreclr-module
condition: os = linux AND env(GITHUB_DEPLOY_PRERELEASE) IS false
condition: "$LINUX_STABLE = true"
tags: true
- provider: script
skip_cleanup: true
prerelease: true
script: cd .. && cd .. && cd .. && cd .. && scs3-win.exe upload .\runtime\build\src\Release\csharp-module.dll coreclr-module/beta/x64_win32/csharp-module.dll
on:
repo: FabianTerhorst/coreclr-module
condition: os = windows AND env(GITHUB_DEPLOY_PRERELEASE) IS true
condition: "$WINDOWS_BETA = true"
tags: true
- provider: script
skip_cleanup: true
prerelease: true
script: cd .. && cd .. && cd .. && chmod +x ./scs3-linux && ./scs3-linux upload ./runtime/build/src/libcsharp-module.so coreclr-module/beta/x64_linux/libcsharp-module.so
on:
repo: FabianTerhorst/coreclr-module
condition: os = linux AND env(GITHUB_DEPLOY_PRERELEASE) IS true
condition: "$LINUX_BETA = true"
tags: true

0 comments on commit e5d20ee

Please sign in to comment.