[Pkg-javascript-commits] [less.js] 217/285: travis integration
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:23:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v2.0.0
in repository less.js.
commit 765f876a491db3ecf5175dd70427c6d157237053
Author: Luke Page <luke.a.page at gmail.com>
Date: Wed Oct 22 13:20:21 2014 +0100
travis integration
---
.travis.yml | 4 ++++
Gruntfile.js | 17 +++++++++++------
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index dff8b6d..c501678 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,3 +5,7 @@ node_js:
install:
- npm install -g grunt-cli
- npm install
+env:
+ global:
+ - secure: GMHRG8YvrBgr6vncdWvGyF19T/mdfP2QX/mpZJ2gDVPG96C2sFc0K1I30ifFP4g6+E6PY2xiYrk4NeUD2II6vZeXx0pjyMAF/3AvTgczMNqyG+M+/rA2GM5+Bc/4MKJ4l1P3YTVnHL513oLssucHVwAgNomE27wFHBjaAtecBXc=
+ - secure: C08G23B8DZxmOi2KDuyipxrT/WZwDYK+U7l3z66DNdZRi0qNimqvDjUHGN3n+Ceu6Pu1shbOVUacC2FQslgM2mx/fNJYnQkA1xM5sJxRXYst9SOT6rIDq30l+/nwbVEisNeqeYYgKle4Z027XEHBAzrplkzvt8xqX1r550T/XYA=
\ No newline at end of file
diff --git a/Gruntfile.js b/Gruntfile.js
index f813067..14e5d79 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -229,8 +229,6 @@ module.exports = function (grunt) {
'saucelabs-jasmine': {
all: {
options: {
- username: "lukeapage",
- key: "2d7199e2-74da-432f-9449-c8c247babecf",
urls: ["post-processor", "global-vars", "modify-vars", "production", "rootpath-relative",
"rootpath", "relative-urls", "browser", "no-js-errors", "legacy"
].map(function(testName) {
@@ -273,7 +271,11 @@ module.exports = function (grunt) {
version: '11',
platform: 'Windows 8.1'
}],
- sauceConfig: {'record-video': false, 'record-screenshots': false, 'idle-timeout': 60, 'max-duration': 100},
+ sauceConfig: {
+ 'record-video': false, 'record-screenshots': false, 'idle-timeout': 100, 'max-duration': 240,
+ build: process.env.TRAVIS_JOB_ID,
+ tags: [process.env.TRAVIS_BUILD_NUMBER, process.env.TRAVIS_PULL_REQUEST, process.env.TRAVIS_BRANCH]
+ },
throttled: 3
}
}
@@ -282,7 +284,8 @@ module.exports = function (grunt) {
// Clean the version of less built for the tests
clean: {
test: ['test/browser/less.js', 'tmp'],
- "sourcemap-test": ['test/sourcemaps/*.css', 'test/sourcemaps/*.map']
+ "sourcemap-test": ['test/sourcemaps/*.css', 'test/sourcemaps/*.map'],
+ sauce_log: ["sc_*.log"]
}
});
@@ -329,7 +332,8 @@ module.exports = function (grunt) {
'browsertest-lessjs',
'connect',
'jasmine',
- 'saucelabs-jasmine'
+ 'saucelabs-jasmine',
+ 'clean:sauce_log'
]);
// setup a web server to run the browser tests in a browser rather than phantom
@@ -344,7 +348,8 @@ module.exports = function (grunt) {
'browsertest-lessjs',
'jasmine::build',
'connect',
- 'saucelabs-jasmine'
+ 'saucelabs-jasmine',
+ 'clean:sauce_log'
]);
// Run all tests
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git
More information about the Pkg-javascript-commits
mailing list