image: facio/bigbro
build:
stage: build
script:
- sh build/linux.sh
artifacts:
paths:
- libbigbro.a
test:
stage: test
script:
- mkdir -p ~/.cargo
- cat .cargo/config >> ~/.cargo/config
- python3 run-tests.py
after_script:
- bash <(curl -s https://codecov.io/bash) -t ef88c866-d33f-45e5-b994-617ef7861f50
artifacts:
paths:
- web
pages:
stage: deploy
script:
- git clone https://gitlab.com/facio/fac.git tests/fac
- cd tests/fac
- sh build/linux.sh
- cd ../..
- cargo --version
- tests/fac/fac web/style.css web/documentation.html web/doc/bigbro/index.html web/index.html
- mv web public
artifacts:
paths:
- public