aave-protocol-v2/.gitlab-ci.yml
David Racero 27b05921d0 Fix CI
2020-11-20 11:40:01 +01:00

27 lines
723 B
YAML

stages:
- checks
test:
stage: checks
tags:
- aave-build-runner
before_script:
- docker-compose -f docker-compose.test.yml build
script:
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:test
after_script:
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:clean
- docker-compose -f docker-compose.test.yml down
deploy-mainnet-fork:
stage: checks
tags:
- aave-build-runner
before_script:
- docker-compose build
script:
- docker-compose run contracts-env npm aave:fork:main
after_script:
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:clean
- docker-compose -f docker-compose.test.yml down