Can't get sauce labs and travis CI to work

Aakil Fernandes

I'm trying to run a test with sauce labs + travis CI but no luck.

Here's where I think the issue is: https://travis-ci.org/angulytics/angular-snitch/builds/50894194#L402

UnknownError: Sauce Labs Authentication Error.
You used username 'None' and access key 'None' to authenticate, which are not valid Sauce Labs credentials.

However, I have added the keys to my travis settings page. Also, it looks like Travis is in fact exporting them

https://travis-ci.org/angulytics/angular-snitch/builds/50894194#L80

$ export SAUCE_USERNAME=[secure]
$ export SAUCE_ACCESS_KEY=[secure]

So what's going on?

If it helps, you can check the rest of the protractor.conf here https://github.com/angulytics/angular-snitch/blob/master/protractor.conf.js

Aakil Fernandes

I can't remember where exactly I found the answer, but I had to remove the seleniumAddress config option for reasons I don't really understand.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

With Rails 4 and selenium web driver, use Sauce Labs on Travis CI but not locally

How do you cancel a travis (or other ci) build based on sauce labs usage?

[Python]Can't make Travis CI work. PATHs problems

'Angular could not be found' when integrating Travis/Sauce Labs

Travis CI + Go: can't build

Cocoapod CI on travis can't install dependencies

Cypress with Sauce Labs

Can't get CI autocomplete from DB to work

Travis CI build doesn't work with Android Constraint Layout

Selenium Chrome driver and Travis CI don't work together

Composer autoload doesn't work for tests in Travis CI

How can I get clean Gradle output on Travis CI?

Can I get Travis CI's status as a json response?

Travis-ci can't find boost/geometry.hpp

Can’t run PHPUnit with Composer on Travis-CI, class not found

Can't find globally installed npm packages in Travis ci

Why can't Travis-CI find my cocoapod dependencies?

Can't build project with Travis-CI and Android

Can't run exec("cwebp ...") with Java in Travis CI

"go get -t ./...", Travis CI, and installing all go dependencies

Sauce Labs failing to execute javascript

Is gradlew mandatory for travis CI to work?

Can't get Coverity Scan to work (Java/Kotlin/Gradle 3.3 on Windows and Travis)

How to upload apk file to sauce labs and get saucelabs url of temporary storage?

Cannot view sauce labs test results

Why might Intern timeout with BrowserStack, but not Sauce Labs?

Can't get tests to pass on Gitlab CI

Why can't ruby (in Travis CI) find my bundle installed gems?

can't seem to publish my updated pgp key for Travis-CI to pick it up