Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/.travis.yml

53 lines
1.3 KiB
YAML
Raw Normal View History

language: minimal
jobs:
include:
- stage: Code
name: Format
script: ./ci/image/run.sh "yarn && yarn vscode && yarn fmt"
- name: Lint
script: ./ci/image/run.sh "yarn && yarn vscode && yarn lint"
- name: Test
script: ./ci/image/run.sh "yarn && yarn vscode && yarn test"
- stage: Release
name: Linux Release
2020-02-18 19:06:18 +01:00
script:
- travis_wait 60 ./ci/image/run.sh "yarn && yarn vscode && ci/release.sh"
- ./ci/release-image/push.sh
- name: Linux ARM64 Release
2020-02-18 19:06:18 +01:00
script:
- travis_wait 60 ./ci/image/run.sh "yarn && yarn vscode && ci/release.sh"
- ./ci/release-image/push.sh
arch: arm64
- name: MacOS Release
os: osx
language: node_js
node_js: 12
script: yarn && yarn vscode && travis_wait 60 ci/release.sh
2020-02-18 19:06:18 +01:00
- name: Docker Release
script: ./ci/release-image/push.sh
stages:
- name: Code
- name: Release
2020-02-18 19:06:18 +01:00
if: env(TRAVIS_TAG) IS present
deploy:
- provider: releases
edge: true
draft: true
tag_name: $TRAVIS_TAG
target_commitish: $TRAVIS_COMMIT
name: $TRAVIS_TAG
file:
- release/*.tar.gz
- release/*.zip
on:
tags: true
condition: $TRAVIS_BUILD_STAGE_NAME == Release
cache:
timeout: 600
yarn: true