Skip to content

Commit b77f383

Browse files
authored
Merge pull request #35 from Didstopia/development
Fixing Travis
2 parents 323874c + c7afb88 commit b77f383

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ sudo: false
1616
# Skip the installation step
1717
install: true
1818

19+
## NOTE: Conditionals are broken with tagged releases:
20+
## https://github.com/Didstopia/PDFSharp/issues/34
21+
1922
# Additional jobs that run after tests
2023
jobs:
2124
fast_finish: true
@@ -29,7 +32,7 @@ jobs:
2932
- dotnet pack -c ${BUILD_CONFIG} --no-build
3033

3134
- stage: Deploy to MyGet
32-
if: (branch = development) AND (type != pull_request)
35+
#if: (branch = development) AND (type != pull_request)
3336
script: skip
3437
deploy:
3538
provider: script
@@ -41,7 +44,7 @@ jobs:
4144
tags: false
4245

4346
- stage: Deploy to NuGet
44-
if: branch = master
47+
#if: branch = master
4548
script: skip
4649
deploy:
4750
provider: script
@@ -54,7 +57,7 @@ jobs:
5457
tags: false
5558

5659
- stage: Deploy to GitHub
57-
if: branch = master
60+
#if: branch = master
5861
script:
5962
- if [ ! -z "$TRAVIS_TAG" ]; then dotnet restore /p:PackageVersion=${TRAVIS_TAG#v}; else echo "Missing tag, skipping restore.."; fi
6063
- if [ ! -z "$TRAVIS_TAG" ]; then dotnet build -c $BUILD_CONFIG /p:PackageVersion=${TRAVIS_TAG#v}; else echo "Missing tag, skipping build.."; fi

0 commit comments

Comments
 (0)