Sha256: 19bc7c03a7bb17568d4afc702768e9c65d45be934a053f0ae0a15e720e13a7bf

Contents?: true

Size: 578 Bytes

Versions: 46

Compression:

Stored size: 578 Bytes

Contents

module.exports = function (grunt) {
    // Pull requests do not have secure variables enabled for security reasons.
    // Use this task before launching travis-sauce-browser task, so it would
    // exit early and won't try connecting to SauceLabs without credentials.
    grunt.registerTask('check-sauce-creds', function () {
        if (process.env.SAUCE_USERNAME === undefined) {
            grunt.log.writeln('No sauce credentials found');
            grunt.task.clearQueue();
        } else {
            grunt.log.writeln('Sauce credentials found');
        }
    });
};

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
card-mod-date-0.15.6 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.15.0 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.14.2 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.14.1 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.14.0 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.13.4 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.13.3 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.13.2 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.13.1 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.13.0 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.11.7 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.12.0 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.11.6 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.11.5 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.11.4 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.11.3 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.11.2 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.11.1 vendor/moment/tasks/check_sauce_creds.js
card-mod-date-0.11.0 vendor/moment/tasks/check_sauce_creds.js
card-1.100.0 mod/date/vendor/moment/tasks/check_sauce_creds.js