2017-06-28 13:57:58 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
docker --version
|
|
|
|
docker-compose --version
|
|
|
|
|
2017-10-16 22:35:34 +00:00
|
|
|
# Generate configuration schema
|
|
|
|
grunt schema
|
2017-10-15 20:08:24 +00:00
|
|
|
|
2017-06-28 13:57:58 +00:00
|
|
|
# Run unit tests
|
2017-10-06 22:09:42 +00:00
|
|
|
grunt test-unit
|
2017-06-28 13:57:58 +00:00
|
|
|
|
|
|
|
# Build the app from Typescript and package
|
|
|
|
grunt build-dist
|
|
|
|
|
2017-07-14 17:05:42 +00:00
|
|
|
# Run integration/example tests
|
|
|
|
./scripts/integration-tests.sh
|
2017-06-28 13:57:58 +00:00
|
|
|
|
|
|
|
# Test npm deployment before actual deployment
|
|
|
|
./scripts/npm-deployment-test.sh
|