box: nolimitid/node-phantom-npm3

build:
    steps:
        - script:
            name: load git revisions
            code: |
                git remote set-url origin https://github.com/$WERCKER_GIT_OWNER/$WERCKER_GIT_REPOSITORY.git
                cd $WERCKER_SOURCE_DIR
                git fetch --unshallow
        - script:
            name: set up permissions
            code: |
                export NODE_ENV=development
                chmod 777 -R .
                chmod 777 -R $WERCKER_CACHE_DIR
        - npm-test

deploy:
    steps:
        - script:
            name: set up permissions
            code: |
                export NODE_ENV=development
                chmod 777 -R .
                chmod 777 -R $WERCKER_CACHE_DIR
        - install-packages:
            packages: zip
        - script:
            name: builds.framerjs.com
            code: make deploy

# $WERCKER_OUTPUT_DIR
box: nolimitid/node-phantom-npm3

build:
    steps:
        - script:
            name: load git revisions
            code: |
                git remote set-url origin https://github.com/$WERCKER_GIT_OWNER/$WERCKER_GIT_REPOSITORY.git
                cd $WERCKER_SOURCE_DIR
                git fetch --unshallow
        - npm-test

deploy:
    steps:
        - script:
            name: set up permissions
            code: |
                export NODE_ENV=development
                chmod 777 -R .
                chmod 777 -R $WERCKER_CACHE_DIR
        - install-packages:
            packages: zip
        - script:
            name: builds.framerjs.com
            code: make deploy

# $WERCKER_OUTPUT_DIR
Test if we still need permissions
Test if we still need permissions
