Last active
May 3, 2019 23:12
-
-
Save FeodorFitsner/bd04fdcb7df10089a16aebb9af5658e6 to your computer and use it in GitHub Desktop.
Getting Started sample YAMLs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build_cloud: docker | |
environment: | |
matrix: | |
- job_name: Node.js 8 tests | |
job_group: tests | |
docker_image: node:8 | |
- job_name: Node.js 12 tests | |
job_group: tests | |
docker_image: node:12 | |
- job_name: redis | |
docker_image: redis | |
job_allow_cancellation: true | |
for: | |
- | |
matrix: | |
only: | |
- job_group: tests | |
test_script: | |
- node --version | |
- npm --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build_cloud: docker | |
environment: | |
matrix: | |
- job_name: Build | |
docker_image: alpine | |
- job_name: Tests A | |
job_group: tests | |
job_depends_on: Build | |
docker_image: node:12 | |
- job_name: Tests B | |
job_group: tests | |
job_depends_on: Build | |
docker_image: node:12 | |
- job_name: Package | |
job_depends_on: tests | |
- job_name: Deploy | |
job_depends_on: Package | |
for: | |
- | |
matrix: | |
only: | |
- job_name: Build | |
build_script: | |
- echo This is a build stage! | |
- | |
matrix: | |
only: | |
- job_group: tests | |
test_script: | |
- node --version | |
- npm --version | |
- | |
matrix: | |
only: | |
- job_name: Package | |
build_script: | |
- echo This is Packaging stage! | |
- | |
matrix: | |
only: | |
- job_name: Deploy | |
build_script: | |
- echo This is Deploy stage! | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build_cloud: docker | |
environment: | |
matrix: | |
- job_name: Node.js 8 tests | |
docker_image: node:8 | |
- job_name: Node.js 12 tests | |
docker_image: node:12 | |
for: | |
- | |
matrix: | |
only: | |
- job_name: Node.js 8 tests | |
test_script: | |
- node --version | |
- npm --version | |
- | |
matrix: | |
only: | |
- job_name: Node.js 12 tests | |
test_script: | |
- node --version | |
- npm --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment