authelia/scripts/travis.sh

24 lines
392 B
Bash
Executable File

#!/bin/bash
set -e
docker --version
docker-compose --version
echo "node `node -v`"
echo "npm `npm -v`"
# Generate configuration schema
grunt schema
# Run unit tests
grunt test-unit
# Build the app from Typescript and package
grunt build-dist
# Run integration/example tests
./scripts/integration-tests.sh
# Test npm deployment before actual deployment
./scripts/npm-deployment-test.sh