You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
797 B
YAML
41 lines
797 B
YAML
6 years ago
|
pipelines:
|
||
|
branches:
|
||
|
feature/*:
|
||
|
- step:
|
||
|
name: Test
|
||
|
image: node:latest
|
||
|
script:
|
||
|
- npm install
|
||
|
- npm test
|
||
|
default:
|
||
|
- step:
|
||
|
name: Build and test
|
||
|
image: node:8.5.0
|
||
|
caches:
|
||
|
- node
|
||
|
script:
|
||
|
- npm install
|
||
|
- npm test
|
||
|
- npm build
|
||
|
artifacts:
|
||
|
- dist/**
|
||
|
- step:
|
||
|
name: Integration test
|
||
|
image: node:8.5.0
|
||
|
caches:
|
||
|
- node
|
||
|
services:
|
||
|
- postgres
|
||
|
script:
|
||
|
- npm run integration-test
|
||
|
- step:
|
||
|
name: Deploy to beanstalk
|
||
|
image: python:3.5.1
|
||
|
script:
|
||
|
- python deploy-to-beanstalk.py
|
||
|
|
||
|
definitions:
|
||
|
services:
|
||
|
postgres:
|
||
|
image: postgres:9.6.4
|