Add website build to Travis CI
@@ -53,7 +53,13 @@ matrix:
- "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash"
- cmake -DCMAKE_BUILD_TYPE=Debug -DWARNINGS_AS_ERRORS=ON -DH3_PREFIX=testprefix_ .
script:
- - make && make coverage
+ - make
+ - make coverage
+ # Test building the website also - needed for FOSSA to pick up dependencies
+ - cd website
+ - npm install
+ - npm run build
+ - cd ..
- 'if [ -n "$FOSSA_API_KEY" ]; then fossa; fi'
after_success:
- coveralls-lcov coverage.cleaned.info
