authelia/scripts/authelia-scripts-travis

26 lines
414 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
export PATH=./scripts:$PATH
docker --version
docker-compose --version
2018-08-10 03:24:02 +07:00
echo "node `node -v`"
echo "npm `npm -v`"
# Build
authelia-scripts build
# Run unit tests
authelia-scripts unittest
# Build the docker image
authelia-scripts docker build
# Run integration tests
authelia-scripts suites test --headless
# Test npm deployment before actual deployment
# ./scripts/npm-deployment-test.sh