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