Newer
Older
variables:
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
script:
- curl -o- -L https://yarnpkg.com/install.sh | bash
script:
- 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"
script:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- yarn install
- yarn build
- yarn release --mac
tags:
- osx
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:
- "packages/fether-electron/dist/*.exe"