You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.2 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. machine:
  2. environment:
  3. MACH_PREFIX: tendermint-test-mach
  4. GOPATH: /home/ubuntu/.go_workspace
  5. REPO: $GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
  6. DOCKER_VERSION: 1.10.0
  7. DOCKER_MACHINE_VERSION: 0.6.0
  8. hosts:
  9. circlehost: 127.0.0.1
  10. localhost: 127.0.0.1
  11. checkout:
  12. post:
  13. - rm -rf $REPO
  14. - mkdir -p $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME
  15. - mv $HOME/$CIRCLE_PROJECT_REPONAME $REPO
  16. # - git submodule sync
  17. # - git submodule update --init # use submodules
  18. dependencies:
  19. override:
  20. - echo $MACH_PREFIX $GOPATH $REPO $DOCKER_VERSION $DOCKER_MACHINE_VERSION
  21. - curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | sudo bash -s -- $DOCKER_VERSION
  22. - 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
  23. - sudo start docker
  24. - go version
  25. - docker version
  26. - docker-machine version
  27. test:
  28. override:
  29. - "cd $REPO && make test_integrations"
  30. post:
  31. - "cd $REPO && bash <(curl -s https://codecov.io/bash)"