mirror of https://github.com/nirenjan/libx52.git
Move build script out of .travis.yml
parent
45c66a4f1a
commit
dc352c58da
|
@ -1,5 +1,5 @@
|
||||||
language: c
|
language: c
|
||||||
script: ./autogen.sh && ./configure && make V=0 && make distcheck
|
script: ./.travis_build.sh
|
||||||
|
|
||||||
# Compile using both gcc & clang
|
# Compile using both gcc & clang
|
||||||
compiler:
|
compiler:
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
#!/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 and run any tests
|
||||||
|
make V=0
|
||||||
|
make check
|
||||||
|
|
||||||
|
# Verify that the distribution works
|
||||||
|
make distcheck
|
||||||
|
|
Loading…
Reference in New Issue