Skip to content

Instantly share code, notes, and snippets.

View flenter's full-sized avatar

Jacco Flenter flenter

  • Fiberplane
  • Holland!
View GitHub Profile
@flenter
flenter / wercker.yml
Last active December 25, 2015 14:39
wercker.yml for php with a yui compressor step
box: wercker/php
# Build definition
build:
# The steps that will be executed on build
steps:
# A custom script s tep, name value is used in the UI
# and the code value contains the command that get executed
- script:
name: echo php information
code: |
@flenter
flenter / wercker.yml
Last active December 26, 2015 18:39
wercker.yml that updates the android box with the android-7 part of the sdkbox: wercker/android
box: wercker/android
# Build definition
build:
# The steps that will be executed on build
steps:
- script:
name: show base information
code: |
gradle -v
echo $ANDROID_HOME
@flenter
flenter / wercker.yml
Created November 7, 2013 18:58
Wercker.yml for django project, testing rs_open_auth only
box: wercker/python
services:
- wercker/postgresql # Don't forget to add your databases as a service
# Build definition
build:
# The steps that will be executed on build
steps:
- virtualenv:
@flenter
flenter / wercker.yml
Created March 5, 2014 16:45
Yaml for https://bitbucket.org/structedio/puppet-sidekick (puppet module using cardboad)
box: wercker/rvm
build:
steps:
- script:
name: set environment variables
code: export GITHUB_API_TOKEN=d2c7c15db12c627fea9b717245c5302eec8de702
- rvm-use:
version: ruby-1.9.3-p545
- script:
name: move code folder and update WERCKER_SOURCE_DIR
@flenter
flenter / wercker.yml
Last active August 29, 2015 14:01
wercker.yml with a npm-install step that installs a package globally
---
box: wercker/nodejs
# Build definition
build:
# The steps that will be executed on build
steps:
# A step that executes `npm install` command
- npm-install
# Install karma cli
- script:
@flenter
flenter / wercker.yml
Created September 17, 2014 16:41
Enabling postgres for php
box: wercker/php
services:
- wercker/postgresql
# Build definition
build:
# The steps that will be executed on build
steps:
- install-packages:
name: install postgres extension
packages: "php5-pgsql"
@flenter
flenter / wercker.yml
Created September 22, 2014 09:49
Fabric enabled wercker.yml
box: wercker/python
services:
- wercker/redis
# Build definition
build:
# The steps that will be executed on build
steps:
# A step that sets up the python virtual environment
- virtualenv:
name: setup virtual environment
@flenter
flenter / wercker.yml
Last active August 29, 2015 14:24
environment with tox, python 2.7.9 & 3.4.0
box:
id: ubuntu:trusty
build:
steps:
- install-packages:
packages: python python3 python-pip
- script:
name: python
code: |
python --version
box: google/golang
dev:
steps:
- script:
name: build libstatgrab
code: |
curl -o libstatgrab-0.91.tar.gz http://www.mirrorservice.org/pub/i-scream/libstatgrab/libstatgrab-0.91.tar.gz
tar zxf libstatgrab-0.91.tar.gz
cd libstatgrab-0.91
./configure --prefix=/usr
box: google/golang
dev:
steps:
- script:
name: build libstatgrab
code: |
curl -o libstatgrab-0.91.tar.gz http://www.mirrorservice.org/pub/i-scream/libstatgrab/libstatgrab-0.91.tar.gz
tar zxf libstatgrab-0.91.tar.gz
cd libstatgrab-0.91
./configure --prefix=/usr