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.

35 lines
1.1 KiB

9 years ago
9 years ago
9 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. pre:
  12. - curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | sudo bash -s -- $DOCKER_VERSION
  13. services:
  14. - docker
  15. checkout:
  16. post:
  17. - rm -rf $REPO
  18. - mkdir -p $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME
  19. - mv $HOME/$CIRCLE_PROJECT_REPONAME $REPO
  20. # - git submodule sync
  21. # - git submodule update --init # use submodules
  22. dependencies:
  23. override:
  24. - 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
  25. - go version
  26. - docker version
  27. - docker-machine version
  28. test:
  29. override:
  30. - "cd $REPO && make test_integrations"
  31. post:
  32. - bash <(curl -s https://codecov.io/bash)