forked from toolness/simplesauce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sample.js
30 lines (28 loc) · 951 Bytes
/
config.sample.js
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
var config = {
// Only include this if you're integrating w/ saucelabs.
sauce: {
username: "your-saucelabs-username",
key: "your-saucelabs-key"
},
// Hostname and port to listen for github post-receive hooks on.
hostname: "localhost",
port: 8432,
// Base URL of the server; leave blank to auto-generate this, or
// specify it explicitly if the server is behind a reverse proxy.
baseURL: null,
// Path to receive github post-receive hooks on. You can keep this
// secret if you don't want other people issuing jobs to your server.
postReceiveEndpoint: '/newjob',
/// Additional options to curl.
curlOptions: ['--insecure'],
// Base desired capabilities for selenium2.
capabilities: {
"public": true,
"record-video": false,
"record-screenshots": false,
"capture-html": true
}
};
if (!config.baseURL)
config.baseURL = "http://" + config.hostname + ":" + config.port;
module.exports = config;