Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
travis: use different condition and name for deploying on debian (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 authored and ivaradi committed Nov 6, 2017
1 parent bcf4fbf commit e9b3656
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Expand Up @@ -41,7 +41,13 @@ deploy:
skip_cleanup: true
script: linux/travis-build.sh snap_store_deploy
on:
condition: ($BUILD_TYPE = snap && -n "$SNAPCRAFT_CONFIG_KEY" && -n "$SNAPCRAFT_CONFIG_IV") || $BUILD_TYPE = debian
condition: ($BUILD_TYPE = snap && -n "$SNAPCRAFT_CONFIG_KEY" && -n "$SNAPCRAFT_CONFIG_IV")

- provider: script
skip_cleanup: true
script: linux/travis-build.sh ppa_deploy
on:
condition: ($BUILD_TYPE = debian)

branches:
except:
Expand Down
2 changes: 1 addition & 1 deletion linux/debian/travis-build.sh
Expand Up @@ -81,7 +81,7 @@ elif [ "$TRAVIS_BUILD_STEP" == "script" ]; then
cd ..
done

elif [ "$TRAVIS_BUILD_STEP" == "snap_store_deploy" ]; then
elif [ "$TRAVIS_BUILD_STEP" == "ppa_deploy" ]; then
cd ..

kind=`cat kind`
Expand Down

0 comments on commit e9b3656

Please sign in to comment.