#!/bin/bash -x
# Make sure we exit if there is a failure
set -e

#comment this when we can do an 'apt-get install llvm-5.0'
#exit 0

mkdir -p travis_build/occam
mkdir -p travis_build/Repositories

#now set up the environment
. ${BUILD_HOME}/.travis/bash_profile

cd ${BUILD_HOME}
make
make install
RETURN="$?"


if [ "${RETURN}" != "0" ]; then
    echo "Building OCCAM failed!"
    exit 1
fi

#sudo updatedb
#locate FileCheck
#ls -laR /usr/lib/llvm-5.0/

make test
RETURN="$?"


if [ "${RETURN}" != "0" ]; then
    echo "The testing harness is dicky!"
    exit 1
fi

#!/bin/bash -x
# Make sure we exit if there is a failure
set -e

mkdir -p travis_build/occam
mkdir -p travis_build/Repositories

#now set up the environment
. ${BUILD_HOME}/.travis/bash_profile

cd ${BUILD_HOME}
make
make install
RETURN="$?"


if [ "${RETURN}" != "0" ]; then
    echo "Building OCCAM failed!"
    exit 1
fi

make test
RETURN="$?"

if [ "${RETURN}" != "0" ]; then
    echo "The testing harness is dicky!"
    exit 1
fi

Build failing due to circumstances out of our control ...
Build failing due to circumstances out of our control ...
