Newer
Older
GIT_DEPTH: '3'
SIMPLECOV: 'true'
RUST_BACKTRACE: '1'
RUSTFLAGS: ''
CARGOFLAGS: ''
.branches: &branches
only:
- beta
- tags
- stable
- triggers
- master
linux-test:
stage: test
image: node:8
- curl -o- -L https://yarnpkg.com/install.sh | bash
- curl -o- -L https://yarnpkg.com/install.sh | bash
artifacts:
expire_in: 1 week
paths:
- 'packages/fether-electron/dist/*.AppImage'
- 'packages/fether-electron/dist/*.tar.xz'
- 'packages/fether-electron/dist/*.snap'
- 'packages/fether-electron/dist/*.deb'
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- yarn install
- yarn build
- yarn release --mac
tags:
artifacts:
expire_in: 1 week
paths:
- 'packages/fether-electron/dist/*.dmg'
- 'packages/fether-electron/dist/*.zip'
win-build:
stage: build
<<: *branches
script:
- yarn install
- yarn build
- yarn release --win
tags:
artifacts:
expire_in: 1 week
paths: