# GSOC ideasList p5.js-sound

**URL:** <https://discourse.processing.org/t/gsoc-ideaslist-p5-js-sound/18961>\
**Category:** Development\
**Created:** [March 24, 2020, 12:48am UTC](https://discourse.processing.org/t/gsoc-ideaslist-p5-js-sound/18961 "2020-03-24T00:48:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![endurance21](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/endurance21/32/8149_2.png) [@endurance21](https://discourse.processing.org/u/endurance21)\
**Post date:** [March 24, 2020, 12:48am UTC](https://discourse.processing.org/t/gsoc-ideaslist-p5-js-sound/18961/1 "2020-03-24T00:48:28Z")

</div>

![ideaList](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/6/6f0970f5d7f445140ab0fe10f9e2f3ccfdc59dba.png)  
i have few question regarding this idea ,  
in the Expected outcomes section ,  
the last point that is  
`Tests run on every pull request in a headless browser`  
is it about Travis bot or we have to use Jenkins explicitly ?  
please give suggestions  
thank you  
@lmccart@kjhollen  
please help!

---

<div class="post-metadata">

**Author:** ![endurance21](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/endurance21/32/8149_2.png) [@endurance21](https://discourse.processing.org/u/endurance21)\
**Post date:** [March 29, 2020, 2:41am UTC](https://discourse.processing.org/t/gsoc-ideaslist-p5-js-sound/18961/2 "2020-03-29T02:41:45Z")

</div>

Library : p5.js-sound

I have almost completed my gsoc proposal for  
{ IMPROVE TEST COVERAGE In p5.js-sound library}  
, just i have to clear one thing, for

We are currently using travis ci for build passes on every pull request.

“TESTS RUN ON EVERY PULL REQUEST IN A HEADLESS BROWSER”

what i think above statements says that we should be able to run  
1.build (currently there)  
2.custom unit tests that we write in our tests folder( to be implemented)?.  
On every pull request made to repo.

Is thi so?.

In that case we only have to setup configuration files like

1.travis.yml( script : npm run build & & npm run tests)

2.configuring mocha to return the status (ok/not-okay) when it runs the tests that we wrote in tests folder. And then travis cloud server depending upon the status thrown by the process npm run tests, will allow or disallow the pull request to merge…

Is that we are supposed to achieve in this project?.

If anything else, please let me know, as i am about to submit the draft proposal…

@lmccart  
There is a commit of yours that adds travis.yml and configures it to run travis-ci on every pull request,

> <https://github.com/processing/p5.js-sound/pull/355>

  
can you Please help me regarding this…

---

<div class="post-metadata">

**Author:** ![endurance21](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/endurance21/32/8149_2.png) [@endurance21](https://discourse.processing.org/u/endurance21)\
**Post date:** [March 29, 2020, 11:33am UTC](https://discourse.processing.org/t/gsoc-ideaslist-p5-js-sound/18961/3 "2020-03-29T11:33:49Z")

</div>

@jeremydouglass please help

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [March 29, 2020, 2:46pm UTC](https://discourse.processing.org/t/gsoc-ideaslist-p5-js-sound/18961/4 "2020-03-29T14:46:47Z")

</div>

I am not a p5.sound developer ( @therewasaguy @lmccart ) but I _believe_ that you are correct.

Your tests should use the existing build/test setup. Continuous integration should run the tests against any pull submitted by anyone.

A key word here is “headless”. The tests for sound must run in a Travis headless environment – Chrome headless.

---

<div class="post-metadata">

**Author:** ![endurance21](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/endurance21/32/8149_2.png) [@endurance21](https://discourse.processing.org/u/endurance21)\
**Post date:** [March 29, 2020, 3:01pm UTC](https://discourse.processing.org/t/gsoc-ideaslist-p5-js-sound/18961/5 "2020-03-29T15:01:58Z")

</div>

@jeremydouglass  
Thanks for your review.
