forked from AccelByte/justice-js-common-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
38 lines (33 loc) · 910 Bytes
/
bitbucket-pipelines.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
# Copyright (c) 2018-2019 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
image: atlassian/default-image:2
clone:
depth: 2
pipelines:
default:
- step:
name: Build
script:
- export NEXUS_AUTH=$NEXUS_AUTH
- export NEXUS_REPOSITORY_URL=$NEXUS_REPOSITORY_URL
- export NEXUS_EMAIL=$NEXUS_EMAIL
- make build
- make test
branches:
master:
- step:
name: Build and publish to npm
script:
- export NEXUS_AUTH=$NEXUS_AUTH
- export NEXUS_REPOSITORY_URL=$NEXUS_REPOSITORY_URL
- export NEXUS_EMAIL=$NEXUS_EMAIL
- make build
- make test
- make publish
options:
docker: true
definitions:
services:
docker:
memory: 3072