authelia/scripts/travis.sh

25 lines
381 B
Bash
Raw Normal View History

#!/bin/bash
set -e
docker --version
docker-compose --version
# Run unit tests
grunt test
# Build the app from Typescript and package
grunt build-dist
echo "The files are:"
ls
echo "--- Packing npm package into a tarball"
npm pack
2017-07-14 17:05:42 +00:00
# Run integration/example tests
./scripts/integration-tests.sh
# Test npm deployment before actual deployment
./scripts/npm-deployment-test.sh