This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: go | |
# Only the last two Go releases are supported by the Go team with security | |
# updates. Any versions older than that should be considered deprecated. | |
# Don't bother testing with them. tip builds your code with the latest | |
# development version of Go. This can warn you that your code will break | |
# in the next version of Go. Don't worry! Later we declare that test runs | |
# are allowed to fail on Go tip. | |
go: | |
- 1.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Awesomeness first | |
const _ = require('lodash'); | |
const proxyquire = require('proxyquire'); | |
const sinon = require('sinon'); | |
// Mocha + Chai are used here but feel free to use your test framework of choice ! | |
const chai = require('chai'); | |
const chaiAsPromised = require('chai-as-promised'); | |
chai.use(chaiAsPromised); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function() { | |
//window.server = this; | |
this.get('users', { timing: 4000 }); | |
this.get('itineraries', { timing: 2000 }); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add Groovy Script Permissions: Manage Jenkins » In-process Script Approval and Approve | |
def job = jenkins.model.Jenkins.instance.getItemByFullName('folder//projname') | |
def myBuild = job.getBuild('123') | |
myBuild.keepLog(true) |
NewerOlder