set -ev
useradd developer
mkdir /home/developer
chown -R developer:developer /home/developer
cd /home/developer
su - developer
git config --global user.email "testing-on-gitlab-ci@example.com"
git config --global user.name "CI Builder"
git clone git://github.com/droundy/bigbro
cd bigbro
cargo build --features strict
cargo test --features strict
cargo doc --features strict
cargo build --features strict --target x86_64-pc-windows-gnu
rm -rf target
sh build/linux.sh
python3 run-tests.py -v
rm -rf target Cargo.lock
git clone https://gitlab.com/facio/fac.git tests/fac
cd tests/fac
sh build/linux.sh
./fac
cd ../..
cargo --version
tests/fac/fac web/style.css web/documentation.html web/doc/bigbro/index.html web/index.html