forked from Zilliqa/Zilliqa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml.disabled
26 lines (22 loc) · 929 Bytes
/
.travis.yml.disabled
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: generic
cache:
directories:
- $HOME/.ccache/
matrix:
include:
- os: linux
dist: bionic
# - os: osx
# osx_image: xcode10.1
install:
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
- unzip awscliv2.zip
- sudo ./aws/install
- docker run --rm -it -v /scilla:/root/scilla zilliqa/scilla:v0.11.0 cp -r /scilla /root/
- ls /scilla/0/
- docker login -u AWS -p $(aws ecr get-login-password --region ${AWS_REGION}) ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com
- docker build --build-arg AWS_ACCOUNT_ID=${AWS_ACCOUNT_ID} --build-arg AWS_REGION=${AWS_REGION} -t "zilliqa_build:$TRAVIS_COMMIT" -f ./scripts/Dockerfile.build .
script:
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then docker run --rm -it -v /scilla:/scilla zilliqa_build:$TRAVIS_COMMIT -c './scripts/ci_build.sh && ./scripts/ci_report_coverage.sh'; fi
env:
- VCPKG_ROOT=/vcpkg