machine:
  services:
    - docker
  environment:
    PACKER_VERSION: 0.10.1

general:
  branches:
    ignore:
      - gh-pages # list of branches to ignore

dependencies:
  pre:
    - >
      sudo apt-get update &&
      sudo apt-get install -qq wget unzip &&
      pushd /usr/bin &&
      echo "Downloading packer ${PACKER_VERSION}..." &&
      sudo wget --no-verbose https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip &&
      echo "Installing packer ${PACKER_VERSION}..." &&
      sudo unzip packer_${PACKER_VERSION}_linux_amd64.zip &&
      sudo rm packer_${PACKER_VERSION}_linux_amd64.zip

test:
  override:
    - make lint


# deployment:
#   release:
#     tag: /[0-9]+(\.[0-9]+)*/
#     owner: circleci
#     commands:
#       - make push template=jessie
#       - make push template=archlinux
#       - make push template=kali

machine:
  services:
    - docker
  environment:
    PACKER_VERSION: 0.10.1

general:
  branches:
    ignore:
      - gh-pages # list of branches to ignore

dependencies:
  pre:
    - >
      sudo apt-get update &&
      sudo apt-get install -qq wget unzip &&
      pushd /usr/bin &&
      echo "Downloading packer ${PACKER_VERSION}..." &&
      sudo wget --no-verbose https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip &&
      echo "Installing packer ${PACKER_VERSION}..." &&
      sudo unzip packer_${PACKER_VERSION}_linux_amd64.zip &&
      sudo rm packer_${PACKER_VERSION}_linux_amd64.zip

test:
  override:
    - VAGRANTCLOUD_TOKEN="1234567890" make lint


# deployment:
#   release:
#     tag: /[0-9]+(\.[0-9]+)*/
#     owner: circleci
#     commands:
#       - make push template=jessie
#       - make push template=archlinux
#       - make push template=kali

Fix CircleCI with fake token
Fix CircleCI with fake token

Signed-off-by: Nicolas Lamirault <57a11b2dec5b8363280015e1663433805cc2169e@gmail.com>
