language: python
python:
        - "2.7"

before_install:
        - wget https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz ~/
        - tar -xzf ~/google-cloud-sdk.tar.gz ~/
        - wget https://github.com/boot2docker/boot2docker-cli/releases/download/v1.4.1/boot2docker-v1.4.1-linux-amd64 ~/

install:
        - printf '\ny\n\ny\ny\n' | ~/google-cloud-sdk/install.sh
        - gcloud components update app
        - sudo apt-get install VirtualBox
        - pip install PyOpenSSL

before_script:
        - chmod u+x ~/boot2docker-v1.4.1-linux-amd64
        - ~/boot2docker-v1.4.1-linux-amd64 init
        - ~/boot2docker-v1.4.1-linux-amd64 up
        - $(~/boot2docker-v1.4.1-linux-amd64 shellinit)
        - gcloud config set project $PROJECT_ID
        - export CLOUDSDK_PYTHON_SITEPACKAGES=1
        - echo $CREDENTIALS_JSON > credentials.json
        - gcloud auth activate-service-account $ACCOUNT --key-file credentials.json
        - rm credentials.json
        - gcloud preview app deploy . --version hello-sample-appengine-vm-python

script: python test.py





language: python
python:
        - "2.7"

before_install:
        - wget -P ~/ -U https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz
        - tar -xzf ~/google-cloud-sdk.tar.gz -C ~/
        - wget -P ~/ -U https://github.com/boot2docker/boot2docker-cli/releases/download/v1.4.1/boot2docker-v1.4.1-linux-amd64

install:
        - printf '\ny\n\ny\ny\n' | ~/google-cloud-sdk/install.sh
        - gcloud components update app
        - sudo apt-get install VirtualBox
        - pip install PyOpenSSL

before_script:
        - chmod u+x ~/boot2docker-v1.4.1-linux-amd64
        - ~/boot2docker-v1.4.1-linux-amd64 init
        - ~/boot2docker-v1.4.1-linux-amd64 up
        - $(~/boot2docker-v1.4.1-linux-amd64 shellinit)
        - gcloud config set project $PROJECT_ID
        - export CLOUDSDK_PYTHON_SITEPACKAGES=1
        - echo $CREDENTIALS_JSON > credentials.json
        - gcloud auth activate-service-account $ACCOUNT --key-file credentials.json
        - rm credentials.json
        - gcloud preview app deploy . --version hello-sample-appengine-vm-python

script: python test.py





Revert "Fixed wget and tar commands (actually)"
Revert "Fixed wget and tar commands (actually)"

This reverts commit 57e577cad3f4e17c0b023c2b1cf0b14e9b7a32c8.
