New angular-cli project failing/time-out on Circle-Ci

nodejs
angular
circle.yml

#1

Hi,

I created a new angular project with angular-cli, with ‘sass’ styling, which by default comes with 4 basic tests written those pass and succeed on local machine but when i try to run it on circle ci, it times out and fails.

https://circleci.com/gh/shumail92/COOKorBOOK/11

Initially, it was failing on trying to execute ng test, for which I upgraded node version to version 6. Upon that, i started seeing node-sass error requesting to rebuild the bindings, since it was using cached version of dependencies.

I triggered build again without cache, but without any real error, build fails and times out after running tests.

07 06 2017 23:54:01.701:INFO [Chrome 54.0.2840 (Linux 0.0.0)]: Connected on socket Db_vGMQrOu_C5fUfAAAA with id 59420432
Chrome 54.0.2840 (Linux 0.0.0): Executed 0 of 3 SUCCESS (0 secs / 0 secs)
Chrome 54.0.2840 (Linux 0.0.0): Executed 1 of 3 SUCCESS (0 secs / 0.186 secs)
Chrome 54.0.2840 (Linux 0.0.0): Executed 2 of 3 SUCCESS (0 secs / 0.28 secs)
Chrome 54.0.2840 (Linux 0.0.0): Executed 3 of 3 SUCCESS (0 secs / 0.349 secs)
Chrome 54.0.2840 (Linux 0.0.0): Executed 3 of 3 SUCCESS (0.379 secs / 0.349 secs)

command ((npm :test)) took more than 10 minutes since last output

URL: https://circleci.com/gh/shumail92/COOKorBOOK/11

Complete build history:
https://circleci.com/gh/shumail92/COOKorBOOK

Can anyone please help with this and suggest work around to fix this timeout and get build to succeed. ?
Thank you very much in advance.


#2

Problem resolved. I had to run ng test --single-run otherwise it was running tests in watch mode. Please close this. Thanks a lot


#3