Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/client_theming.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Fazzari <github@status.e4ward.com>2017-10-27 05:26:52 +0300
committerGitHub <noreply@github.com>2017-10-27 05:26:52 +0300
commitbcf4fbff6bb3515d15933a1428c98d2440aca3cd (patch)
treea2bea29366792834c0c35cbae2ca8c2def05dbc2
parent86f4cec9767b4e48fac8f784596b7320bd1acca3 (diff)
parent845e05805b868b28e5f9f483631dc1d70db7c965 (diff)
Merge pull request #215 from 3v1n0/travis-snap-build
snap: deploy to the store
-rw-r--r--.travis.yml4
-rw-r--r--linux/.gitignore8
-rwxr-xr-xlinux/travis-build.sh8
-rw-r--r--linux/travis_snapcraft.cfgbin0 -> 2432 bytes
4 files changed, 11 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 79b3132..63d8587 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,8 +11,8 @@ env:
- DOCKER_IMAGE=ubuntu:xenial
- SNAP_PRIME_ON_PULL_REQUEST=true
- SNAP_DEPLOY_CHANNEL=edge
- - SNAPCRAFT_CONFIG_KEY=''
- - SNAPCRAFT_CONFIG_IV=''
+ - SNAPCRAFT_CONFIG_KEY=$encrypted_ad766d8d4221_key
+ - SNAPCRAFT_CONFIG_IV=$encrypted_ad766d8d4221_iv
matrix:
- BUILD_TYPE=appimage
diff --git a/linux/.gitignore b/linux/.gitignore
index a1fd60d..25fe573 100644
--- a/linux/.gitignore
+++ b/linux/.gitignore
@@ -1,5 +1,5 @@
-stage
-snap
-prime
-parts
*.snap
+parts
+prime
+stage
+snap/.snapcraft
diff --git a/linux/travis-build.sh b/linux/travis-build.sh
index 8049151..d8ddbb4 100755
--- a/linux/travis-build.sh
+++ b/linux/travis-build.sh
@@ -61,15 +61,17 @@ elif [ "$BUILD_TYPE" == "snap" ]; then
exec $0 snap_transfer_deploy
fi
elif [ "$TRAVIS_BUILD_STEP" == "snap_store_deploy" ]; then
+ sudo mkdir -p $THIS_PATH/.snapcraft -m 777
set +x
openssl aes-256-cbc -K $SNAPCRAFT_CONFIG_KEY \
-iv $SNAPCRAFT_CONFIG_IV \
- -in $THIS_PATH/snap/.snapcraft/travis_snapcraft.cfg \
- -out $THIS_PATH/snap/.snapcraft/snapcraft.cfg -d
+ -in $THIS_PATH/travis_snapcraft.cfg \
+ -out $THIS_PATH/.snapcraft/snapcraft.cfg -d
set -x
ls $THIS_PATH/*.snap &> /dev/null || docker_exec snapcraft
- docker_exec snapcraft push *.snap --release edge
+ snap=$(find "$THIS_PATH" -name '*.snap' -printf '%P' -quit)
+ docker_exec snapcraft push $snap --release edge
elif [ "$TRAVIS_BUILD_STEP" == "snap_github_release" ]; then
ls $THIS_PATH/*.snap &> /dev/null || docker_exec snapcraft
snap=$(ls $THIS_PATH/*.snap -1 | head -n1)
diff --git a/linux/travis_snapcraft.cfg b/linux/travis_snapcraft.cfg
new file mode 100644
index 0000000..2a7c507
--- /dev/null
+++ b/linux/travis_snapcraft.cfg
Binary files differ