forked from bailus/Hax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
38 lines (35 loc) · 1.24 KB
/
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
# This is a sample build configuration for Javascript.
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: node:latest
pipelines:
custom:
nightly-build:
- step:
image: node:latest
caches:
- node
- pip
script: # Modify the commands below to build your repository.
- apt-get update && apt-get install -y zip python3
- cd tools
- sh versionBump.sh
- cd ..
- sh tools/build.sh
manual-build:
- step:
image: node:latest
caches:
- node
- pip
script: # Modify the commands below to build your repository.
- apt-get update && apt-get install -y zip python3
- sh tools/build.sh
# default: # Pipelines that run automatically on any commit
# - step:
# image: node:latest
# script: # Modify the commands below to build your repository.
# - apt-get update && apt-get install -y zip python3
# - sh tools/build.sh