mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-14 04:48:40 -09:00
fix : install a dep for snaps (#1617)
* fix : install the missing package
Fix for the failing builds on Travis due to EONENT spawn error.
* fix : update the name to the correct package
* Revert "Remove `snap` target"
This reverts commit a8ce50508a.
* fix : add a ppa and install snapcraft
* fix : auto continue ppa adding
* update : install snapcraft only on linux
This commit is contained in:
parent
b725969a39
commit
7066e174dc
2 changed files with 4 additions and 1 deletions
|
|
@ -21,12 +21,14 @@ addons:
|
||||||
- xz-utils
|
- xz-utils
|
||||||
- rpm
|
- rpm
|
||||||
- bsdtar
|
- bsdtar
|
||||||
|
- snapd
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v1.2.1/git-lfs-$([ "$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-1.2.1.tar.gz | tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull
|
- mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v1.2.1/git-lfs-$([ "$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-1.2.1.tar.gz | tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull
|
||||||
- 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
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install yarn; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install yarn; fi
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository ppa:snappy-dev/tools-proposed -y && sudo apt update && sudo apt install snapcraft; fi
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- yarn
|
- yarn
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,8 @@
|
||||||
"target": [
|
"target": [
|
||||||
"deb",
|
"deb",
|
||||||
"AppImage",
|
"AppImage",
|
||||||
"rpm"
|
"rpm",
|
||||||
|
"snap"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"win": {
|
"win": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue