forked from hartct/toadserver
/
circle.yml
31 lines (29 loc) · 1.28 KB
/
circle.yml
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
27
28
29
30
31
machine:
environment:
GOPATH: /home/ubuntu/.go_workspace
REPO: ${GOPATH}/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}
CLI: github.com/eris-ltd/eris-cli
post:
- echo "GOPATH $GOPATH and REPO $REPO"
- rm -rf $REPO
- mkdir -p ${GOPATH}/src/github.com/${CIRCLE_PROJECT_USERNAME}
- cp -r ${HOME}/${CIRCLE_PROJECT_REPONAME} $REPO
- git config --global user.email "billings@erisindustries.com"
- git config --global user.name "Billings the Bot"
dependencies:
override:
- sudo curl -L -o /usr/bin/docker http://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.1-circleci; chmod 0755 /usr/bin/docker; true
- ls -la /usr/bin/docker
- sudo service docker start
- "sudo curl -sSL -o /usr/local/bin/docker-machine https://github.com/docker/machine/releases/download/v$DOCKER_MACHINE_VERSION/docker-machine_linux-amd64 && sudo chmod +x /usr/local/bin/docker-machine"
test:
override:
- docker pull quay.io/eris/base
- docker pull quay.io/eris/keys
- docker pull quay.io/eris/data
- docker pull quay.io/eris/erisdb:0.11.0
- docker pull quay.io/eris/ipfs
- docker pull quay.io/eris/toadserver
- go get ${CLI}/cmd/eris
- eris init --yes
- bash test.sh