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

Commit e9b3656

Browse files
3v1n0ivaradi
authored andcommitted
travis: use different condition and name for deploying on debian (#216)
1 parent bcf4fbf commit e9b3656

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ deploy:
4141
skip_cleanup: true
4242
script: linux/travis-build.sh snap_store_deploy
4343
on:
44-
condition: ($BUILD_TYPE = snap && -n "$SNAPCRAFT_CONFIG_KEY" && -n "$SNAPCRAFT_CONFIG_IV") || $BUILD_TYPE = debian
44+
condition: ($BUILD_TYPE = snap && -n "$SNAPCRAFT_CONFIG_KEY" && -n "$SNAPCRAFT_CONFIG_IV")
45+
46+
- provider: script
47+
skip_cleanup: true
48+
script: linux/travis-build.sh ppa_deploy
49+
on:
50+
condition: ($BUILD_TYPE = debian)
4551

4652
branches:
4753
except:

linux/debian/travis-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ elif [ "$TRAVIS_BUILD_STEP" == "script" ]; then
8181
cd ..
8282
done
8383

84-
elif [ "$TRAVIS_BUILD_STEP" == "snap_store_deploy" ]; then
84+
elif [ "$TRAVIS_BUILD_STEP" == "ppa_deploy" ]; then
8585
cd ..
8686

8787
kind=`cat kind`

0 commit comments

Comments
 (0)