Skip to content

Instantly share code, notes, and snippets.

@stevenyap
Created August 12, 2014 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenyap/5969386120d5b24636bf to your computer and use it in GitHub Desktop.
Save stevenyap/5969386120d5b24636bf to your computer and use it in GitHub Desktop.
Travis CI

Setup

Sign up an account with your github http://www.travis-ci.org.
Follow the guide to link it your github repository.
You need to setup the .travis.yml file in order for Travis to run your build.

Travis CI file

# .travis.yml

language: ruby

rvm:
  - 2.1.1

before_script:
  - psql -c 'create database neember_project_test;' -U postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment