angular-xeditable icon indicating copy to clipboard operation
angular-xeditable copied to clipboard

Help running new Protractor tests on Travis-CI

Open B3nCr opened this issue 9 years ago • 4 comments

Hi

I've made a start trying to convert the existing tests to use protractor and I'm trying to run them on TravisCI/SauceLabs.

So far I've got a couple of simple tests passing locally but I'm having trouble on Travis and I can't see what the problem is. Would anyone else mind having a look for me in case it's something stupid.

This is the travis build. https://travis-ci.org/B3nCr/angular-xeditable

It seems to be complaining about a syntax error but I can't find one so presumably it's doing some sort of eval somewhere and it's my config that's broken.

The protractor branch of my fork is here... https://github.com/B3nCr/angular-xeditable/tree/protractor

Thanks Ben

B3nCr avatar Mar 22 '17 11:03 B3nCr

Seems like you are using io.js v3.3.1 on Travis, which doesn't support arrow function syntax.

Try to use node v6.

eugef avatar Mar 22 '17 11:03 eugef

Nice one, that's got me a bit further on. I'll keep plodding away.

I'll leave this open for now incase I have any other issues getting the tests running

Thanks

B3nCr avatar Mar 22 '17 13:03 B3nCr

Boom. Travis-CI status is green!

Only 5 tests so far but it's progress.

https://travis-ci.org/B3nCr/angular-xeditable/builds/214473297

Build Status

B3nCr avatar Mar 24 '17 00:03 B3nCr

Very good! Please keep doing this. Maybe @ckosloski can join you?

eugef avatar Mar 24 '17 08:03 eugef