forked from RedHatInsights/vulnerability-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (25 loc) · 769 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: node_js
sudo: required
notifications:
email: false
node_js:
- '10'
install:
- npm ci
jobs:
include:
- stage: Lint
script: npm run lint
- stage: Test
script: npm run test && npx codecov
- stage: Deploy
script: npm run travis:build && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
- stage: Build components and release
script: rm -rf dist ; npm run build:components ; npm run semantic-release
- stage: Create Manifest
script: .travis/create_manifest.sh
env:
global:
- REPO="[email protected]:RedHatInsights/vulnerability-ui-build"
- REPO_DIR="vulnerability-ui-build"
- BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}