mirror of https://github.com/OpenRCT2/OpenRCT2.git
Rename output files to match Windows' names
This commit is contained in:
parent
884bcd2c8a
commit
1693f1bb2c
|
@ -8,7 +8,7 @@ sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- OPENRCT2_VERSION="0.0.4"
|
- OPENRCT2_VERSION="0.0.4.0"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
@ -23,7 +23,7 @@ matrix:
|
||||||
- mv OpenRCT2/bin/openrct2 OpenRCT2/ && mv OpenRCT2/share/openrct2 OpenRCT2/data && mv OpenRCT2/share/doc/openrct2 OpenRCT2/doc
|
- mv OpenRCT2/bin/openrct2 OpenRCT2/ && mv OpenRCT2/share/openrct2 OpenRCT2/data && mv OpenRCT2/share/doc/openrct2 OpenRCT2/doc
|
||||||
- rm -rf OpenRCT2/bin OpenRCT2/share # remove empty dirs
|
- rm -rf OpenRCT2/bin OpenRCT2/share # remove empty dirs
|
||||||
- tar cvzf openrct2-linux.tar.gz OpenRCT2/
|
- tar cvzf openrct2-linux.tar.gz OpenRCT2/
|
||||||
- if [[ "z$OPENRCT2_ORG_TOKEN" != "z" ]] ; then curl -o - -v --form "key=$OPENRCT2_ORG_TOKEN" --form "fileName=OpenRCT2-${OPENRCT2_VERSION}-linux-${TRAVIS_COMMIT:0:7}.tar.gz" --form "version=${OPENRCT2_VERSION}" --form "gitHash=$TRAVIS_COMMIT" --form "gitBranch=$TRAVIS_BRANCH" --form "flavourId=4" --form "file=@openrct2-linux.tar.gz" "https://openrct2.org/altapi/?command=push-build"; fi
|
- if [[ "z$OPENRCT2_ORG_TOKEN" != "z" ]] ; then curl -o - -v --form "key=$OPENRCT2_ORG_TOKEN" --form "fileName=OpenRCT2-${OPENRCT2_VERSION}-${TRAVIS_BRANCH}-${TRAVIS_COMMIT:0:7}-linux.tar.gz" --form "version=${OPENRCT2_VERSION}" --form "gitHash=$TRAVIS_COMMIT" --form "gitBranch=$TRAVIS_BRANCH" --form "flavourId=4" --form "file=@openrct2-linux.tar.gz" "https://openrct2.org/altapi/?command=push-build"; fi
|
||||||
- os: linux
|
- os: linux
|
||||||
env: OPENRCT2_CMAKE_OPTS="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"
|
env: OPENRCT2_CMAKE_OPTS="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"
|
||||||
- os: linux
|
- os: linux
|
||||||
|
@ -43,7 +43,7 @@ matrix:
|
||||||
after_success:
|
after_success:
|
||||||
- cd build/Release
|
- cd build/Release
|
||||||
- zip -r openrct2-osx.zip OpenRCT2.app
|
- zip -r openrct2-osx.zip OpenRCT2.app
|
||||||
- if [[ "z$OPENRCT2_ORG_TOKEN" != "z" ]] ; then curl -o - -v --form "key=$OPENRCT2_ORG_TOKEN" --form "fileName=OpenRCT2-${OPENRCT2_VERSION}-osx-${TRAVIS_COMMIT:0:7}.zip" --form "version=${OPENRCT2_VERSION}" --form "gitHash=$TRAVIS_COMMIT" --form "gitBranch=$TRAVIS_BRANCH" --form "flavourId=3" --form "file=@openrct2-osx.zip" "https://openrct2.org/altapi/?command=push-build"; fi
|
- if [[ "z$OPENRCT2_ORG_TOKEN" != "z" ]] ; then curl -o - -v --form "key=$OPENRCT2_ORG_TOKEN" --form "fileName=OpenRCT2-${OPENRCT2_VERSION}-${TRAVIS_BRANCH}-${TRAVIS_COMMIT:0:7}-osx.zip" --form "version=${OPENRCT2_VERSION}" --form "gitHash=$TRAVIS_COMMIT" --form "gitBranch=$TRAVIS_BRANCH" --form "flavourId=3" --form "file=@openrct2-osx.zip" "https://openrct2.org/altapi/?command=push-build"; fi
|
||||||
# Following entries used to be included in testing, but they only proved useful while changing things in CMake setup.
|
# Following entries used to be included in testing, but they only proved useful while changing things in CMake setup.
|
||||||
# They are meant to be used when there are changes to CMakeLists.txt
|
# They are meant to be used when there are changes to CMakeLists.txt
|
||||||
# - os: linux
|
# - os: linux
|
||||||
|
|
Loading…
Reference in New Issue