forked from blackbaud/skyux-sdk-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (32 loc) · 869 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
os:
- linux
- osx
language: node_js
dist: bionic
env:
- TEST_COMMAND=coverage
- TEST_COMMAND=e2e
addons:
chrome: stable
services:
- xvfb
branches:
only:
- master
- /^rc-.*$/
- /^[0-9]+\.[0-9]+\.[0-9]+.*/
before_install:
- npm i -g @skyux-sdk/cli
- skyux certs install
script: "npm run lint && npm run $TEST_COMMAND"
after_success:
- bash <(curl -s https://codecov.io/bash) -s coverage/builder -F builder
- bash <(curl -s https://codecov.io/bash) -s coverage/runtime/ -F runtime
- bash <(curl -s https://codecov.io/bash) -s coverage/src-app/ -F srcapp
# Run the deployment after all jobs have been successfully completed.
# https://docs.travis-ci.com/user/build-stages
jobs:
include:
- stage: deploy
env: TEST_COMMAND=none
script: bash <(curl -s https://blackbaud.github.io/skyux-travis/after-success.sh)