Update .gitlab-ci.yml

This commit is contained in:
pistiner 2020-11-01 17:21:46 +00:00
parent 11ed9c396e
commit 5ab98dc4a8

View File

@ -15,19 +15,18 @@ test:
certora-test: certora-test:
stage: test stage: test
image: openjdk:15.0-jdk-buster image: openjdk:15.0-jdk
tags: tags:
- linux - linux
before_script: before_script:
- echo "export PATH=$PATH:~/.local/bin" - echo "export PATH=$PATH:~/.local/bin"
- whereis sudo - apt-get update || sudo apt-get update
- sudo apt-get update || sudo apt-get update - apt-get install -y software-properties-common
- sudo apt-get install -y software-properties-common - apt-get install python3-pip
- sudo apt-get install python3-pip
- pip3 install certora-cli-beta==0.4.1 - pip3 install certora-cli-beta==0.4.1
- wget https://github.com/ethereum/solidity/releases/download/v0.6.8/solc-static-linux - wget https://github.com/ethereum/solidity/releases/download/v0.6.8/solc-static-linux
- chmod +x solc-static-linux - chmod +x solc-static-linux
- sudo mv solc-static-linux /usr/bin/solc - mv solc-static-linux /usr/bin/solc
script: script:
- certoraRun specs/harness/StableDebtTokenHarness.sol:StableDebtTokenHarness --solc solc6.8 --verify StableDebtTokenHarness:specs/StableDebtToken. spec --settings -assumeUnwindCond --cache StableDebtToken --staging - certoraRun specs/harness/StableDebtTokenHarness.sol:StableDebtTokenHarness --solc solc6.8 --verify StableDebtTokenHarness:specs/StableDebtToken. spec --settings -assumeUnwindCond --cache StableDebtToken --staging