Skip to content

Commit

Permalink
updated travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Oct 9, 2020
1 parent 1b49f88 commit ad0bd76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Expand Up @@ -8,19 +8,19 @@ env:
- BUILD_TIMESTAMP=`date -Is`
matrix:
include:
- smalltalk: Pharo64-7.0
env: PHARO_VERSION="7.0" PHARO_BITS="64"
- smalltalk: Pharo32-8.0
env: PHARO_VERSION="8.0" PHARO_BITS="32"
- smalltalk: Pharo64-8.0
env: PHARO_VERSION="8.0" PHARO_BITS="64"
- smalltalk: Pharo32-8.0
env: PHARO_VERSION="8.0" PHARO_BITS="32"
- smalltalk: Pharo64-9.0
env: PHARO_VERSION="9.0" PHARO_BITS="64"
allow_failures:
- smalltalk: Pharo64-7.0
env: PHARO_VERSION="7.0" PHARO_BITS="64"
allow_failures:
- smalltalk: Pharo64-9.0
env: PHARO_VERSION="9.0" PHARO_BITS="64"
- smalltalk: Pharo64-7.0
env: PHARO_VERSION="7.0" PHARO_BITS="64"
before_install:
- echo $PROJECT_NAME
- echo $FULL_PROJECT_NAME
Expand All @@ -39,7 +39,9 @@ before_install:
deploy:
- provider: script
on:
all_branches: true
smalltalk: Pharo64-8.0
condition: $TRAVIS_BRANCH = master || $TRAVIS_BRANCH = $TRAVIS_TAG
skip_cleanup: true
script:
bash scripts/deploy.sh;
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy.sh
Expand Up @@ -35,7 +35,7 @@ upload() {
local platform=$1
local package_dir_name="openponk-$PROJECT_NAME-$platform"
local working_dir="$package_dir_name-$BUILD_VERSION"
local zip="$package_dir_name-latest.zip"
local zip="$package_dir_name-$BUILD_VERSION.zip"

cd "$working_dir"
zip -qr "$zip" "${package_dir_name}"
Expand Down Expand Up @@ -153,5 +153,5 @@ if [[ -n "$TRAVIS_TAG" ]]; then
main
fi

exit 0
return 0

0 comments on commit ad0bd76

Please sign in to comment.