authelia/scripts/travis.sh
2018-12-18 16:34:56 +01:00

24 lines
392 B
Bash

#!/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