forked from google/appengine-codiad
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.test-build-on-repo-change.yaml
49 lines (39 loc) · 1.07 KB
/
.test-build-on-repo-change.yaml
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
42
43
44
45
46
47
48
49
logrotate: false
buildDiscarder:
$class: !by-name Log Rotation
properties:
!key:by-name Rebuild Settings:
autoRebuild: false
rebuildDisabled: false
!key:by-name Throttle Concurrent Builds:
throttleEnabled: false
throttleOption: project
maxConcurrentTotal: 0
maxConcurrentPerNode: 0
disable: false
concurrentBuild: false
hasSlaveAffinity: true
label: master
hasCustomQuietPeriod: false
quiet_period: 5
hasCustomScmCheckoutRetryCount: false
scmCheckoutRetryCount: 0
blockBuildWhenUpstreamBuilding: false
blockBuildWhenDownstreamBuilding: false
hasCustomWorkspace: false
!key:by-name Poll SCM:
scmpoll_spec: H * * * *
ignorePostCommitHooks: false
builder:
command: apt-get update
apt-get install -y -qq --no-install-recommends make curl
cd codiad && make && cd ..
cd test
curl -sL https://deb.nodesource.com/setup_0.12 | bash -
apt-get update && apt-get install -y nodejs
curl -L https://npmjs.com/install.sh | sh
npm install -g mocha
npm install expect.js webdriverio
mocha *.spec.js
$class: !shell
$class: !freestyle