add artifacts for snap

This commit is contained in:
Denis S. Soldatov aka General-Beck 2017-04-28 15:16:40 +03:00 committed by GitHub
parent e439b53652
commit e989e2f12c

View File

@ -62,21 +62,20 @@ linux-stable:
name: "stable-x86_64-unknown-linux-gnu_parity" name: "stable-x86_64-unknown-linux-gnu_parity"
linux-snap: linux-snap:
stage: build stage: build
image: ubuntu:latest image: ethcore/snapcraft:latest
only: only:
- snap - snap
before_script:
- apt install snapcraft
script: script:
- git submodule update --init --recursive
- cd scripts - cd scripts
- snapcraft - snapcraft
- sudo snap install *.snap --dangerous
- parity -v
tags: tags:
- rust - rust
- rust-stable - rust-stable
artifacts:
paths:
- parity*.snap
allow_failure: true allow_failure: true
name: "stable-x86_64-unknown-linux-gnu_parity-snap"
linux-stable-debian: linux-stable-debian:
stage: build stage: build
image: ethcore/rust-debian:latest image: ethcore/rust-debian:latest