daifoundation / maker-otc

The OasisDEX protocol - Simple on-chain market for ERC20 tokens
GNU Affero General Public License v3.0
101 stars 39 forks source link

ci improvements #34

Closed rainbreak closed 8 years ago

rainbreak commented 8 years ago

Basic travis coverage implemented in #31. Various improvements that could be made:

  1. [ ] migrate dapple docker image to canonical location (currently rainbeam/dapple)
  2. [x] reduce size of docker image
  3. [x] add npm test to test script

Image location is currently at rainbeam/dapple, which is built from https://github.com/rainbeam/dapple-travis

Would be nice to push this to a more central location e.g. nexusdev/dapple-minimal. Especially useful if this is used in a general dapple ci solution.


Image size is currently around 1GB. This can be reduced quite a lot for faster test setup. An ubuntu image with dapple and solc can be taken down to ~400MB, depending on violently you gut the OS and squash the fs layers. A minimal install based on Alpine can be brought down to 100MB (without solc).


npm test I'm not too familiar with the frontend, but maybe it has linters (semistandard?) that want checking. These could easily be added.

jorisbontje commented 8 years ago

I have added npm test which runs the standard linter. @rainbeam can you trigger that besides the docker build?

rainbreak commented 8 years ago

yep, will do

jorisbontje commented 8 years ago

npm test integrated via #51

c055 commented 8 years ago

https://github.com/MakerDAO/maker-market/issues/6