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

35 lines
1.2 KiB
YAML
Raw Normal View History

2020-08-21 12:11:01 +00:00
stages:
- test
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
2020-11-01 16:34:06 +00:00
certora-test:
stage: test
2020-11-01 17:21:46 +00:00
image: openjdk:15.0-jdk
2020-11-01 17:09:58 +00:00
tags:
- linux
2020-11-01 16:34:06 +00:00
before_script:
2020-11-01 17:27:16 +00:00
- wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_2.1.11_amd64.deb -O apt.deb
- pkexec dpkg -i apt.deb
2020-11-01 16:42:58 +00:00
- echo "export PATH=$PATH:~/.local/bin"
2020-11-01 17:21:46 +00:00
- apt-get update || sudo apt-get update
- apt-get install -y software-properties-common
- apt-get install python3-pip
2020-11-01 16:34:06 +00:00
- pip3 install certora-cli-beta==0.4.1
- wget https://github.com/ethereum/solidity/releases/download/v0.6.8/solc-static-linux
- chmod +x solc-static-linux
2020-11-01 17:21:46 +00:00
- mv solc-static-linux /usr/bin/solc
2020-11-01 16:34:06 +00:00
script:
- certoraRun specs/harness/StableDebtTokenHarness.sol:StableDebtTokenHarness --solc solc6.8 --verify StableDebtTokenHarness:specs/StableDebtToken. spec --settings -assumeUnwindCond --cache StableDebtToken --staging