mirror of https://github.com/nirenjan/libx52.git
25 lines
401 B
Bash
Executable File
25 lines
401 B
Bash
Executable File
#!/bin/bash
|
|
# Script to run automated build and testing on Travis-CI
|
|
|
|
# Abort early in case of failure
|
|
set -e
|
|
|
|
# Generate the build files
|
|
./autogen.sh
|
|
|
|
# Create a temporary directory to store build artifacts
|
|
rm -rf build
|
|
mkdir build
|
|
cd build
|
|
|
|
# Run the configuration script
|
|
../configure
|
|
|
|
# Build the sourcecode
|
|
make V=0
|
|
|
|
# Verify that the distribution works
|
|
# This also runs any tests
|
|
make distcheck
|
|
|