Merge pull request #8187 from Mailaender/travis-windows-deploy
Brought back the Windows setup deployment via Travis CI
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -4,8 +4,8 @@
|
|||||||
language: csharp
|
language: csharp
|
||||||
mono: 3.12.0
|
mono: 3.12.0
|
||||||
|
|
||||||
# Use the Docker-based infrastructure
|
# Don't use the container based infrastructure
|
||||||
sudo: false
|
sudo: true
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
@@ -15,8 +15,10 @@ cache:
|
|||||||
env:
|
env:
|
||||||
secure: "C0+Hlfa0YGErxUuWV00Tj6p45otC/D3YwYFuLpi2mj1rDFn/4dgh5WRngjvdDBVbXJ3duaZ78jPHWm1jr7vn2jqj9yETsCIK9psWd38ep/FEBM0SDr6MUD89OuXk/YyvxJAE+UXF6bXg7giey09g/CwBigjMW7ynET3wNAWPHPs="
|
secure: "C0+Hlfa0YGErxUuWV00Tj6p45otC/D3YwYFuLpi2mj1rDFn/4dgh5WRngjvdDBVbXJ3duaZ78jPHWm1jr7vn2jqj9yETsCIK9psWd38ep/FEBM0SDr6MUD89OuXk/YyvxJAE+UXF6bXg7giey09g/CwBigjMW7ynET3wNAWPHPs="
|
||||||
|
|
||||||
|
# Fetch dependencies
|
||||||
# Run the build script
|
# Run the build script
|
||||||
# call RALint to check for YAML errors
|
# Check source code with StyleCop
|
||||||
|
# call OpenRA to check for YAML errors
|
||||||
script:
|
script:
|
||||||
- travis_retry make all-dependencies
|
- travis_retry make all-dependencies
|
||||||
- make all
|
- make all
|
||||||
@@ -46,6 +48,7 @@ notifications:
|
|||||||
skip_join: true
|
skip_join: true
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
|
- sudo apt-get install nsis nsis-common dpkg markdown
|
||||||
- export PATH=$PATH:$HOME/usr/bin
|
- export PATH=$PATH:$HOME/usr/bin
|
||||||
- DOTVERSION=`echo ${TRAVIS_TAG} | sed "s/-/\\./g"`
|
- DOTVERSION=`echo ${TRAVIS_TAG} | sed "s/-/\\./g"`
|
||||||
- cd packaging
|
- cd packaging
|
||||||
@@ -56,6 +59,7 @@ deploy:
|
|||||||
api_key:
|
api_key:
|
||||||
secure: "g/LU11f+mjqv+lj0sR1UliHwogXL4ofJUwoG5Dbqlvdf5UTLWytw/OWSCv8RGyuh10miyWeaoqHh1cn2C1IFhUEqN1sSeKKKOWOTvJ2FR5mzi9uH3d/MOBzG5icQ7Qh0fZ1YPz5RaJJhYu6bmfvA/1gD49GoaX2kxQL4J5cEBgg="
|
secure: "g/LU11f+mjqv+lj0sR1UliHwogXL4ofJUwoG5Dbqlvdf5UTLWytw/OWSCv8RGyuh10miyWeaoqHh1cn2C1IFhUEqN1sSeKKKOWOTvJ2FR5mzi9uH3d/MOBzG5icQ7Qh0fZ1YPz5RaJJhYu6bmfvA/1gD49GoaX2kxQL4J5cEBgg="
|
||||||
file:
|
file:
|
||||||
|
- build/OpenRA-${TRAVIS_TAG}.exe
|
||||||
- build/OpenRA-${TRAVIS_TAG}.zip
|
- build/OpenRA-${TRAVIS_TAG}.zip
|
||||||
- build/openra_${DOTVERSION}_all.deb
|
- build/openra_${DOTVERSION}_all.deb
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
|||||||
@@ -41,11 +41,3 @@ after_test:
|
|||||||
artifacts:
|
artifacts:
|
||||||
- path: OpenRA-$(APPVEYOR_REPO_TAG_NAME).exe
|
- path: OpenRA-$(APPVEYOR_REPO_TAG_NAME).exe
|
||||||
name: Installer
|
name: Installer
|
||||||
|
|
||||||
deploy:
|
|
||||||
- provider: GitHub
|
|
||||||
auth_token:
|
|
||||||
secure: Z7RC+ckfvf7Kxf2EdWZCP7bgGjRnhgbMeieQP6VVhiZprwvbEzGXI2Wma+FGAq65
|
|
||||||
artifact: Installer
|
|
||||||
on:
|
|
||||||
appveyor_repo_tag: true
|
|
||||||
|
|||||||
@@ -24,15 +24,11 @@ find . -path "*.mdb" -delete
|
|||||||
test -e Changelog.md && rm Changelog.md
|
test -e Changelog.md && rm Changelog.md
|
||||||
curl -s -L -O https://raw.githubusercontent.com/wiki/OpenRA/OpenRA/Changelog.md
|
curl -s -L -O https://raw.githubusercontent.com/wiki/OpenRA/OpenRA/Changelog.md
|
||||||
|
|
||||||
curl -s -L -O http://daringfireball.net/projects/downloads/Markdown_1.0.1.zip
|
markdown Changelog.md > CHANGELOG.html
|
||||||
unzip -qq Markdown_1.0.1.zip
|
markdown README.md > README.html
|
||||||
rm -rf Markdown_1.0.1.zip
|
markdown CONTRIBUTING.md > CONTRIBUTING.html
|
||||||
./Markdown_1.0.1/Markdown.pl Changelog.md > CHANGELOG.html
|
markdown DOCUMENTATION.md > DOCUMENTATION.html
|
||||||
./Markdown_1.0.1/Markdown.pl README.md > README.html
|
markdown Lua-API.md > Lua-API.html
|
||||||
./Markdown_1.0.1/Markdown.pl CONTRIBUTING.md > CONTRIBUTING.html
|
|
||||||
./Markdown_1.0.1/Markdown.pl DOCUMENTATION.md > DOCUMENTATION.html
|
|
||||||
./Markdown_1.0.1/Markdown.pl Lua-API.md > Lua-API.html
|
|
||||||
rm -rf Markdown_1.0.1
|
|
||||||
|
|
||||||
# List of files that are packaged on all platforms
|
# List of files that are packaged on all platforms
|
||||||
FILES=('OpenRA.Game.exe' 'OpenRA.Editor.exe' 'OpenRA.Utility.exe' \
|
FILES=('OpenRA.Game.exe' 'OpenRA.Editor.exe' 'OpenRA.Utility.exe' \
|
||||||
|
|||||||
Reference in New Issue
Block a user