-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version, add updated travis config from tuxuser
- Loading branch information
Showing
2 changed files
with
25 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,35 @@ | ||
language: csharp | ||
mono: none | ||
dotnet: 2.2.100 | ||
os: linux | ||
dist: xenial | ||
|
||
env: | ||
global: | ||
- PACKAGE_SUFFIX=$TRAVIS_BRANCH-$TRAVIS_OS_NAME | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
dist: xenial | ||
env: PUBLISH_TARGET=linux-x64 BUILD_CONFIG=Release | ||
- os: osx | ||
osx_image: xcode9.2 | ||
env: PUBLISH_TARGET=osx.10.12-x64 BUILD_CONFIG=Release | ||
- PUBLISH_TARGET=osx.10.12-x64 | ||
- PUBLISH_TARGET=linux-x64 | ||
- PUBLISH_TARGET=win-x64 | ||
- PUBLISH_TARGET=win-x86 | ||
|
||
script: | ||
- dotnet --info | ||
- dotnet restore | ||
- dotnet test | ||
- dotnet build -c $BUILD_CONFIG | ||
# - dotnet publish -c $BUILD_CONFIG -r $PUBLISH_TARGET -o publish XVDTool | ||
# - dotnet publish -c $BUILD_CONFIG -r $PUBLISH_TARGET -o publish XBFSTool | ||
# - dotnet publish -c $BUILD_CONFIG -r $PUBLISH_TARGET -o publish DurangoKeyExtractor | ||
- dotnet build -c Release | ||
|
||
before_deploy: | ||
- cd $TRAVIS_BUILD_DIR | ||
- mkdir $PUBLISH_TARGET | ||
- for proj in {XVDTool,XBFSTool,DurangoKeyExtractor}; do dotnet publish -c Release -r $PUBLISH_TARGET -o publish-$PUBLISH_TARGET $proj; done | ||
- for proj in {XVDTool,XBFSTool,DurangoKeyExtractor}; do cp -R $proj/publish-$PUBLISH_TARGET/* $PUBLISH_TARGET/; done | ||
- zip -r XVDTool-$PUBLISH_TARGET-$TRAVIS_BRANCH.zip $PUBLISH_TARGET/ | ||
|
||
# before_deploy: | ||
# - cd XVDTool/publish | ||
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then zip -r $TRAVIS_BUILD_DIR/XVDTool-$PACKAGE_SUFFIX.zip .; fi | ||
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar czvf $TRAVIS_BUILD_DIR/XVDTool-$PACKAGE_SUFFIX.tar.gz *; fi | ||
# - cd ../.. | ||
# - cd XBFSTool/publish | ||
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then zip -r $TRAVIS_BUILD_DIR/XBFSTool-$PACKAGE_SUFFIX.zip .; fi | ||
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar czvf $TRAVIS_BUILD_DIR/XBFSTool-$PACKAGE_SUFFIX.tar.gz *; fi | ||
# - cd ../.. | ||
# - cd DurangoKeyExtractor/publish | ||
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then zip -r $TRAVIS_BUILD_DIR/DurangoKeyExtractor-$PACKAGE_SUFFIX.zip .; fi | ||
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar czvf $TRAVIS_BUILD_DIR/DurangoKeyExtractor-$PACKAGE_SUFFIX.tar.gz *; fi | ||
# - cd $TRAVIS_BUILD_DIR | ||
# | ||
#deploy: | ||
# - provider: releases | ||
# api_key: | ||
# secure: <fill> | ||
# file_glob: true | ||
# file: "$TRAVIS_BUILD_DIR/*-$PACKAGE_SUFFIX.*" | ||
# skip_cleanup: true | ||
# on: | ||
# tags: true | ||
# branch: master | ||
deploy: | ||
- provider: releases | ||
api_key: | ||
secure: JPZMLDzKKF3w15jqG5wuTok3YBPqOoH8fEl50tL5oRUMM7t9Enog3zgp3UQ1o4q8PqMfCsV92o/bHUzVjGGSZ/FzgOtEIvPMmmd4X+ahG0MQ7ZpmZg9hB56FakeGUlWQTFs70ve+dc9m9j/J038k+UctLc/cIt8EiOIqPOkGMPPAdmJqu2jIYXDWuIB9lKFxwFCLXp4ixNJ+q+0TlrDOsXb1pbSctsr8x1I7wb0ctcQ20YyTZBLO0WDqE3DwhH/ePzRs4z7jX8MScZgPQisPA3Jl/hLJzw24LWHshXh7qWSrCfSBb+6MKmzxyKtSkNe36wv720JZQbL7m+DqyGb4BgBpkWsmb2OQydcU1Lc4K+nAkYQ3kihwqhfqxAKHTe6bSsHcodjb+DSKGcUNctdzL6KeRJStgM1J/TTI0CYrvYUjbRhj0BDHTNR6pGrPIeYzOZ3dPfEGZaRkAttMLcUTq2aImXx2vqFd/q4wL/6XHaD9TtiiKd+2FE7FSAhLfJA3Nx3Gg3GQrVTzNyLFn76pxVlSZf5G8xdGZh3tCyJyf7tQBGxIwT85XM4Sxg8+IC8r0pFWvpN2IOHBMKQxkTHnR+Ir1P+AgZOkIEdIJPtBLiyCCql6/m3khlsfUcLvnxc1TPuWBhts75Jocno9qbEeUQhBQr5f8fT9EUqtxzcFXS8= | ||
file_glob: true | ||
file: "XVDTool-$PUBLISH_TARGET-$TRAVIS_BRANCH.zip" | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters