aave-protocol-v2/.gitlab-ci.yml

27 lines
755 B
YAML
Raw Normal View History

2020-08-21 12:11:01 +00:00
stages:
- test
- deploy-mainnet-fork
2020-08-21 12:11:01 +00:00
test:
stage: test
tags:
- aave-build-runner
before_script:
- docker-compose -f docker-compose.test.yml build
script:
2020-08-21 12:19:07 +00:00
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:test
2020-08-21 12:11:01 +00:00
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: deploy-mainnet-fork
tags:
- aave-build-runner
before_script:
- docker-compose build
script:
- docker-compose run contracts-env npm aave:main:fork
after_script:
- docker-compose -f docker-compose.test.yml run contracts-env npm run ci:clean
- docker-compose -f docker-compose.test.yml down