* Create Docker release workflow for GA
* Remove Travis workflow
* Remove dependency on Makefile
* Update default environment to Node 14
* Use git SHA instead of version for `dev` images
* * Fix reporting test to match the new output
* Fix number formatter to return the expected 0 when data is NaN
* Remove excessive logging during test runs from cob plugin
* Run all tests in one go
* Fixes D3 invocations for tests. Note this also removes transition timers (most of which seemed to be timed so fast they actually had no effect as the timer was faster than what it takes to draw a frame in Nightscout)
* Run tests independently
* Try not running tap-set-exit
* Remove tap-set-exit
* Adds API to plugin manager that calls plugins to visualize alarms
* Refactoring how the translation object is managed after discovering every server-side plugin had it's own instance of the translations and the language code wasn't propagated to any code that generated alarms
* Add more missing translations
* Some more localization fixes
Update Finnish to 100% localized
Change Mongo connection to not stop retrying connecting
* Better scaling for mmol
Fix bug in detecting new BG values
* Delta calculation was the wrong way round :D
* add missing dutch translations
* Have tests bail early & tell Mocha to exit at the end of the run
* Try if Travis likes running tests one by one better
* Enable blocking IO for Travis
- Add Docker hub secrets to Travis
- Push to Docker Hub
- Ignore .git directory and things like coverage logs, so as to minimise
the container size
I placed the Docker hub login commands in the commands in the .travis.yml file,
rather than in the Makefile. This is because the Makefile would display the
Docker password to stdout, which would then become publically available in the
Travis logs.
I also run `git clean -fd .` and `git checkout -- .` to ensure that anything
written to the repo directory during tests isn't added to the docker container.
I do this in the Travis file rather than the Makefile, since running things with
`make` reverted my changes while experimenting, and I want to save others the
same issue.
To make this work on Travis, we need to set secrets for the DOCKER_USER and
DOCKER_PASS environment variable.
add tests for node v0.12
move coveralls to after_script (prevents coveralls from failing travis)
use project installs of mocha and istanbul exclusively
resolves#414