Skip to content

Commit

Permalink
Add snapcraft build (#3216)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablopunk authored and chabou committed Oct 13, 2018
1 parent 6a262d0 commit 23c4945
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ addons:
- snapd

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

cache: yarn
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@
{
"target": "rpm",
"arch": ["x64"]
},
{
"target": "snap",
"arch": ["x64"]
}
]
},
Expand Down

0 comments on commit 23c4945

Please sign in to comment.