2017-06-28 13:57:58 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2019-01-27 14:54:29 +00:00
|
|
|
export PATH=./scripts:$PATH
|
|
|
|
|
2017-06-28 13:57:58 +00:00
|
|
|
docker --version
|
|
|
|
docker-compose --version
|
2018-08-09 20:24:02 +00:00
|
|
|
echo "node `node -v`"
|
|
|
|
echo "npm `npm -v`"
|
2017-06-28 13:57:58 +00:00
|
|
|
|
|
|
|
# Run unit tests
|
2019-01-27 14:54:29 +00:00
|
|
|
authelia-scripts test
|
2017-06-28 13:57:58 +00:00
|
|
|
|
2019-01-27 14:54:29 +00:00
|
|
|
# Build
|
|
|
|
authelia-scripts build
|
2017-06-28 13:57:58 +00:00
|
|
|
|
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
|
2019-02-11 22:23:40 +00:00
|
|
|
# ./scripts/npm-deployment-test.sh
|