mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
Add snapcraft build (#3216)
https://docs.snapcraft.io/build-snaps/electron
This commit is contained in:
parent
d1846ffd80
commit
932384f0b4
2 changed files with 5 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ addons:
|
||||||
- snapd
|
- snapd
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo snap install snapcraft --classic; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi
|
||||||
|
|
||||||
cache: yarn
|
cache: yarn
|
||||||
|
|
|
||||||
|
|
@ -147,6 +147,10 @@
|
||||||
{
|
{
|
||||||
"target": "rpm",
|
"target": "rpm",
|
||||||
"arch": ["x64"]
|
"arch": ["x64"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"target": "snap",
|
||||||
|
"arch": ["x64"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue