1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-28 22:53:04 +02:00

Merge pull request #27 from github/ci

Use travis for ci to verify builds work before merging
This commit is contained in:
Ben Balter 2013-07-15 13:31:08 -07:00
commit 51b7f0e401
3 changed files with 18 additions and 0 deletions

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
#bootstrap and build
before_script: "./script/bootstrap"
script: "./script/cibuild"
#environment
language: ruby
rvm:
- 1.9.3

View File

@ -3,6 +3,7 @@
set -e
echo "bundling installin'"
gem install bundler
bundle install
echo "npm installin'"

9
script/cibuild Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
set -e
echo "compiling javascript..."
./node_modules/.bin/coffee -c javascripts/app.coffee
echo "building the site..."
bundle exec jekyll build --trace