Commit 65f2be09 authored by Bas Lijnse's avatar Bas Lijnse

Moved ci-tests script to top-level of repo

parent 40186631
Pipeline #12452 failed with stage
in 2 minutes and 33 seconds
......@@ -3,4 +3,4 @@ test:
- install_clean.sh bundle-complete && apt-get update -qq && apt-get install -y -qq build-essential libsqlite3-dev libmariadbclient-dev-compat
image: "camilstaps/clean:nightly"
script:
- bash Tests/ci-tests.bash
- bash ci-tests.bash
#!/bin/bash
set -e
trap 'mv -v /opt/clean/etc/IDEEnvs{.bak,}' EXIT
cp -v /opt/clean/etc/IDEEnvs{,.bak}
sed -i "s|{Application}/lib/iTasks|$(pwd)/Libraries|g" /opt/clean/etc/IDEEnvs
if [ -e /opt/clean/etc/IDEEnvs ]; then
trap 'mv -v /opt/clean/etc/IDEEnvs{.bak,}' EXIT
cp -v /opt/clean/etc/IDEEnvs{,.bak}
sed -i "s|{Application}/lib/iTasks|$(pwd)/Libraries|g" /opt/clean/etc/IDEEnvs
fi
#Try to compile everything
find . -name "*.prj.default" | while read f; do
......@@ -11,4 +13,4 @@ find . -name "*.prj.default" | while read f; do
find . -name "*.prj" -exec dirname {} \; | sort -u | xargs -I{} sh -c "cd {}; cpm make"
#Run the unit tests
find Unit -type f -perm +111 -exec cleantest -r {} \;
find Tests/Unit -type f -perm +111 -exec cleantest -r {} \;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment