-
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The appstream/appdata file is required for linux destop appliciations and is not packaging-format specific so makes sense to include upstream. - Update existing appdata file. - Add .desktop file since this is referred to by the appdata. - Update the travis config to test this appdata and .desktop files making sure they remain correct. We have to add linux back to the job matrix for this, but we only want to publish a binary release using electron-builder on OSX. Fixes #729.
- Loading branch information
Floris Bruynooghe
committed
Mar 17, 2019
1 parent
175bc7e
commit bd408b3
Showing
4 changed files
with
340 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,57 @@ | ||
sudo: required | ||
language: node_js | ||
dist: xenial | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- appstream-util | ||
- python3-pip | ||
- libssl-dev | ||
- libsqlite3-dev | ||
- libbz2-dev | ||
- zlib1g-dev | ||
- libsasl2-dev | ||
|
||
node_js: | ||
- 10 | ||
|
||
os: | ||
- osx | ||
- linux | ||
|
||
install: | ||
- if [ $(uname) = Linux ]; then | ||
wget https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip; | ||
unzip ninja-linux.zip; | ||
sudo cp ninja /usr/local/bin; | ||
fi | ||
- if [ $(uname) = Linux ]; then | ||
sudo pip3 install meson; | ||
fi | ||
- npm install | ||
|
||
script: | ||
- if [ $(uname) = Linux ]; then | ||
desktop-file-validate static/chat.delta.desktop.desktop; | ||
fi | ||
- if [ $(uname) = Linux ]; then | ||
appstream-util validate-relax static/chat.delta.desktop.appdata.xml; | ||
fi | ||
- npm run build | ||
- npm test | ||
- npm run test-integration | ||
|
||
# Only deploy for OSX, for linux we only release source. | ||
deploy: | ||
skip_cleanup: true | ||
provider: script | ||
script: npm run dist-ci | ||
on: | ||
repo: deltachat/deltachat-desktop | ||
os: osx | ||
all_branches: true | ||
skip_cleanup: true | ||
|
||
|
||
notifications: | ||
email: false | ||
email: false |
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
Oops, something went wrong.