Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snap: build snaps on Travis via remote-build.
We invoke builds on Launchpad in stage "deploy" and release it into the edge channel of the Snap Store. The deploy stage is blocked on fails of the test stage, so we don't release snaps with failing tests.
- Loading branch information
1 parent
16c5fa6
commit d5351c4
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh -xe | ||
|
||
lp_data_dir="$HOME/.local/share/snapcraft/provider/launchpad" | ||
lp_credentials="$lp_data_dir/credentials" | ||
|
||
mkdir -p "$lp_data_dir" | ||
openssl aes-256-cbc -K $encrypted_c4bc81f026a2_key -iv $encrypted_c4bc81f026a2_iv \ | ||
-in .travis/launchpad-credentials.enc \ | ||
-out "$lp_credentials" -d | ||
chmod 600 "$lp_credentials" | ||
|
||
./pkg/snap/build.sh remote-build \ | ||
--launchpad-user solvespace \ | ||
--launchpad-accept-public-upload \ | ||
--build-on=amd64,arm64,armhf,i386 |
Binary file not shown.