tendermint/circle.yml

39 lines
1.3 KiB
YAML
Raw Normal View History

2016-06-11 20:56:42 -07:00
machine:
environment:
2016-08-05 17:42:52 -07:00
MACH_PREFIX: tendermint-test-mach
2016-06-11 20:56:42 -07:00
GOPATH: /home/ubuntu/.go_workspace
REPO: $GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
DOCKER_VERSION: 1.10.0
DOCKER_MACHINE_VERSION: 0.6.0
2016-06-11 20:56:42 -07:00
hosts:
circlehost: 127.0.0.1
localhost: 127.0.0.1
checkout:
post:
- rm -rf $REPO
- mkdir -p $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME
- mv $HOME/$CIRCLE_PROJECT_REPONAME $REPO
# - git submodule sync
# - git submodule update --init # use submodules
dependencies:
override:
2016-08-14 09:53:02 -07:00
- echo $MACH_PREFIX $GOPATH $REPO $DOCKER_VERSION $DOCKER_MACHINE_VERSION
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | sudo bash -s -- $DOCKER_VERSION
2016-08-05 17:16:35 -07:00
- sudo curl -sSL -o /usr/bin/docker-machine https://github.com/docker/machine/releases/download/v$DOCKER_MACHINE_VERSION/docker-machine-linux-x86_64; sudo chmod 0755 /usr/bin/docker-machine
2016-08-14 09:53:02 -07:00
- sudo start docker
2016-07-23 09:48:30 -07:00
- go version
- docker version
2016-08-05 17:16:35 -07:00
- docker-machine version
2016-06-11 20:56:42 -07:00
test:
override:
2016-12-19 10:55:18 -08:00
- "cd $REPO && set -o pipefail && make test_integrations | tee ~/test_integrations.log":
2016-12-17 12:16:58 -08:00
timeout: 1800
2016-12-19 10:55:18 -08:00
- "cp ~/test_integrations.log $CIRCLE_ARTIFACTS"
2016-07-23 09:48:30 -07:00
post:
2016-09-25 02:02:54 -07:00
- "cd $REPO && bash <(curl -s https://codecov.io/bash)"